public interface CBCodec<T>
| Modifier and Type | Method and Description | 
|---|---|
| T | decode(io.netty.buffer.ByteBuf body,
      ProtocolVersion version) | 
| void | encode(T t,
      io.netty.buffer.ByteBuf dest,
      ProtocolVersion version) | 
| int | encodedSize(T t,
           ProtocolVersion version) | 
T decode(io.netty.buffer.ByteBuf body, ProtocolVersion version)
void encode(T t, io.netty.buffer.ByteBuf dest, ProtocolVersion version)
int encodedSize(T t, ProtocolVersion version)
Copyright © 2018 The Apache Software Foundation