Searched refs:byteArrayStream (Results 1 – 2 of 2) sorted by relevance
288 private ByteArrayOutputStream byteArrayStream; field in CodedInputStream.SkippedDataSink292 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()
748 ByteArrayOutputStream byteArrayStream = new ByteArrayOutputStream(); in testReadByteBufferAliasing() local749 CodedOutputStream output = CodedOutputStream.newInstance(byteArrayStream); in testReadByteBufferAliasing()766 byte[] data = byteArrayStream.toByteArray(); in testReadByteBufferAliasing()