MCPcopy Create free account
hub / github.com/grpc/grpc-java / getByteBuffer

Method getByteBuffer

api/src/main/java/io/grpc/HasByteBuffer.java:49–49  ·  view source on GitHub ↗

Gets a ByteBuffer containing some bytes of the content next to be read, or null if has reached end of the content. The number of bytes contained in the returned buffer is implementation specific. Calling this method does not change the position of the input stream. The returned buffe

()

Source from the content-addressed store, hash-verified

47 * @throws UnsupportedOperationException if this operation is not supported.
48 */
49 @Nullable
50 ByteBuffer getByteBuffer();
51}

Implementers 6

BufferInputStreamcore/src/main/java/io/grpc/internal/Re
CompositeReadableBuffercore/src/main/java/io/grpc/internal/Co
ByteReadableBufferWrappercore/src/main/java/io/grpc/internal/Re
ForwardingReadableBuffercore/src/main/java/io/grpc/internal/Fo
AbstractReadableBuffercore/src/main/java/io/grpc/internal/Ab
NettyReadableBuffernetty/src/main/java/io/grpc/netty/Nett

Calls

no outgoing calls