public Builder appendReadData(byte[] data){
  Assertions.checkState(data != null && data.length > 0);
  segments.add(new Segment(data,null));
  return this;
}

public Builder appendReadData ( byte [ ] data ) { Assertions . checkState ( data != null && data . length > 0 ) ; segments . add ( new Segment ( data , null ) ) ; return this ; }
appends to the underlying data .
