Home
last modified time | relevance | path

Searched refs:asReadOnlyByteBuffer (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DNioByteString.java148 public ByteBuffer asReadOnlyByteBuffer() { in asReadOnlyByteBuffer() method in NioByteString
154 return Collections.singletonList(asReadOnlyByteBuffer()); in asReadOnlyByteBufferList()
206 return buffer.equals(otherString.asReadOnlyByteBuffer()); in equals()
DByteString.java689 public abstract ByteBuffer asReadOnlyByteBuffer(); in asReadOnlyByteBuffer() method
1301 public final ByteBuffer asReadOnlyByteBuffer() { in asReadOnlyByteBuffer() method in LiteralByteString
1307 return Collections.singletonList(asReadOnlyByteBuffer()); in asReadOnlyByteBufferList()
DRopeByteString.java365 public ByteBuffer asReadOnlyByteBuffer() { in asReadOnlyByteBuffer() method in RopeByteString
378 result.add(byteString.asReadOnlyByteBuffer()); in asReadOnlyByteBufferList()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsHandshakerClient.java187 return resp.getOutFrames().asReadOnlyByteBuffer(); in startClientHandshake()
210 return resp.getOutFrames().asReadOnlyByteBuffer(); in startServerHandshake()
238 return resp.getOutFrames().asReadOnlyByteBuffer(); in next()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java268 ByteBuffer byteBuffer = stringUnderTest.asReadOnlyByteBuffer(); in testAsReadOnlyByteBuffer()
DNioByteStringTest.java289 ByteBuffer byteBuffer = testString.asReadOnlyByteBuffer(); in testAsReadOnlyByteBuffer()
/external/protobuf/
DCHANGES.txt1067 * New method ByteString.asReadOnlyByteBuffer() does what it sounds like.