Searched refs:asReadOnlyByteBuffer (Results 1 – 7 of 7) sorted by relevance
148 public ByteBuffer asReadOnlyByteBuffer() { in asReadOnlyByteBuffer() method in NioByteString154 return Collections.singletonList(asReadOnlyByteBuffer()); in asReadOnlyByteBufferList()206 return buffer.equals(otherString.asReadOnlyByteBuffer()); in equals()
689 public abstract ByteBuffer asReadOnlyByteBuffer(); in asReadOnlyByteBuffer() method1301 public final ByteBuffer asReadOnlyByteBuffer() { in asReadOnlyByteBuffer() method in LiteralByteString1307 return Collections.singletonList(asReadOnlyByteBuffer()); in asReadOnlyByteBufferList()
365 public ByteBuffer asReadOnlyByteBuffer() { in asReadOnlyByteBuffer() method in RopeByteString378 result.add(byteString.asReadOnlyByteBuffer()); in asReadOnlyByteBufferList()
268 ByteBuffer byteBuffer = stringUnderTest.asReadOnlyByteBuffer(); in testAsReadOnlyByteBuffer()
289 ByteBuffer byteBuffer = testString.asReadOnlyByteBuffer(); in testAsReadOnlyByteBuffer()
1067 * New method ByteString.asReadOnlyByteBuffer() does what it sounds like.