CBCodec (apache-cassandra API)
Date: 2018-02-14

org.apache.cassandra.transport

## Interface CBCodec<T>

- All Known Subinterfaces:
    Message.Codec<M>
  All Known Implementing Classes:
    ResultSet.Codec

      public interface CBCodec<T>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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)`

- - ### Method Detail

    - #### decode

          T decode(io.netty.buffer.ByteBuf body,
                   ProtocolVersion version)

    - #### encode

          void encode(T t,
                      io.netty.buffer.ByteBuf dest,
                      ProtocolVersion version)

    - #### encodedSize

          int encodedSize(T t,
                          ProtocolVersion version)

Copyright © 2018 The Apache Software Foundation