Searched refs:byteStream (Results 1 – 3 of 3) sorted by relevance
248 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in serialize() local251 objectOutput = new ObjectOutputStream(byteStream); in serialize()253 return byteStream.toByteArray(); in serialize()261 byteStream.close(); in serialize()
458 ByteArrayInputStream byteStream = new ByteArrayInputStream(bytes); in deserialize() local461 objectInput = new ObjectInputStream(byteStream); in deserialize()472 byteStream.close(); in deserialize()
483 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in serialize() local484 try (ObjectOutputStream objectStream = new ObjectOutputStream(byteStream)) { in serialize()487 return byteStream.toByteArray(); in serialize()