class RpcEncoder {

  public <T> Bytes encodeSuccessfulResponse(T response) {
    return Bytes.concatenate(Bytes.of(SUCCESS_RESPONSE_CODE), encoding.encodePayload(response));
  }

  public  RpcEncoder(final RpcEncoding encoding);

}