class GenericTransportBuffer implements TransportBuffer {

  @Override
  public void clear() {
    this.batchSize = 0;
    this.baos.reset();
  }

  public  GenericTransportBuffer(long maxBatchSize, boolean useCompression,
      TransportSerializer serializer);

}