Searched refs:byteStream (Results 1 – 3 of 3) sorted by relevance
127 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in serialize() local130 objectOutput = new ObjectOutputStream(byteStream); in serialize()132 return byteStream.toByteArray(); in serialize()140 byteStream.close(); in serialize()
492 ByteArrayInputStream byteStream = new ByteArrayInputStream(bytes); in deserialize() local495 objectInput = new ObjectInputStream(byteStream); in deserialize()506 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()