public class ByteBufOutputMarshaller extends Object implements io.grpc.MethodDescriptor.Marshaller<io.netty.buffer.ByteBuf>
MethodDescriptor.Marshaller for Netty's ByteBuf.| Modifier and Type | Field and Description |
|---|---|
static io.netty.buffer.EmptyByteBuf |
EMPTY_BYTE_BUF |
| Constructor and Description |
|---|
ByteBufOutputMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
parse(InputStream stream) |
InputStream |
stream(io.netty.buffer.ByteBuf value) |
public InputStream stream(io.netty.buffer.ByteBuf value)
stream in interface io.grpc.MethodDescriptor.Marshaller<io.netty.buffer.ByteBuf>public io.netty.buffer.ByteBuf parse(InputStream stream)
parse in interface io.grpc.MethodDescriptor.Marshaller<io.netty.buffer.ByteBuf>