Searched refs:byteStream (Results 1 – 3 of 3) sorted by relevance
141 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in serialize() local144 objectOutput = new ObjectOutputStream(byteStream); in serialize()146 return byteStream.toByteArray(); in serialize()154 byteStream.close(); in serialize()
652 ByteArrayInputStream byteStream = new ByteArrayInputStream(bytes); in deserialize() local655 objectInput = new ObjectInputStream(byteStream); in deserialize()666 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()