Searched refs:byteStream (Results 1 – 6 of 6) sorted by relevance
68 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in process() local72 byteStream.write(buffer, 0, bytesRead); in process()75 byteBuffer = ByteBuffer.wrap(byteStream.toByteArray()); in process()
148 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in getModel() local149 ObjectOutputStream objStream = new ObjectOutputStream(byteStream); in getModel()153 byte[] bytes = byteStream.toByteArray(); in getModel()313 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in getModel() local314 ObjectOutputStream objStream = new ObjectOutputStream(byteStream); in getModel()316 byte[] bytes = byteStream.toByteArray(); in getModel()
110 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in getModel() local111 ObjectOutputStream objStream = new ObjectOutputStream(byteStream); in getModel()114 byte[] bytes = byteStream.toByteArray(); in getModel()
315 final ByteArrayOutputStream byteStream = in writeToParcel() local317 final DataOutputStream outStream = new DataOutputStream(byteStream); in writeToParcel()326 GestureUtils.closeStream(byteStream); in writeToParcel()330 out.writeByteArray(byteStream.toByteArray()); in writeToParcel()
45 final ByteArrayOutputStream byteStream = new ByteArrayOutputStream();46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);47 return Asset.createFromBytes(byteStream.toByteArray());
461 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in serialize() local462 try (ObjectOutputStream objectStream = new ObjectOutputStream(byteStream)) { in serialize()465 return byteStream.toByteArray(); in serialize()