Home
last modified time | relevance | path

Searched refs:byteArrayStream (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java288 private ByteArrayOutputStream byteArrayStream; field in CodedInputStream.SkippedDataSink
292 if (byteArrayStream == null) { in onRefill()
293 byteArrayStream = new ByteArrayOutputStream(); in onRefill()
295 byteArrayStream.write(buffer, lastPos, bufferPos - lastPos); in onRefill()
304 if (byteArrayStream == null) { in getSkippedData()
307 byteArrayStream.write(buffer, lastPos, bufferPos); in getSkippedData()
308 return ByteBuffer.wrap(byteArrayStream.toByteArray()); in getSkippedData()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java748 ByteArrayOutputStream byteArrayStream = new ByteArrayOutputStream(); in testReadByteBufferAliasing() local
749 CodedOutputStream output = CodedOutputStream.newInstance(byteArrayStream); in testReadByteBufferAliasing()
766 byte[] data = byteArrayStream.toByteArray(); in testReadByteBufferAliasing()