Package io.grpc.benchmarks
Class ByteBufOutputMarshaller
- java.lang.Object
-
- io.grpc.benchmarks.ByteBufOutputMarshaller
-
- All Implemented Interfaces:
io.grpc.MethodDescriptor.Marshaller<io.netty.buffer.ByteBuf>
public class ByteBufOutputMarshaller extends java.lang.Object implements io.grpc.MethodDescriptor.Marshaller<io.netty.buffer.ByteBuf>SimpleMethodDescriptor.Marshallerfor Netty'sByteBuf.
-
-
Field Summary
Fields Modifier and Type Field Description static io.netty.buffer.EmptyByteBufEMPTY_BYTE_BUF
-
Constructor Summary
Constructors Constructor Description ByteBufOutputMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBufparse(java.io.InputStream stream)java.io.InputStreamstream(io.netty.buffer.ByteBuf value)
-
-
-
Method Detail
-
stream
public java.io.InputStream stream(io.netty.buffer.ByteBuf value)
- Specified by:
streamin interfaceio.grpc.MethodDescriptor.Marshaller<io.netty.buffer.ByteBuf>
-
parse
public io.netty.buffer.ByteBuf parse(java.io.InputStream stream)
- Specified by:
parsein interfaceio.grpc.MethodDescriptor.Marshaller<io.netty.buffer.ByteBuf>
-
-