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/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.
/external/protobuf/util/
DCHANGES.txt1067 * New method ByteString.asReadOnlyByteBuffer() does what it sounds like.