@Override
  public byte[] getRecord(int position) {
    buffer.position(position + 2);
    final int recordSize = buffer.getInt();
    final byte[] record = new byte[recordSize];
    buffer.get(record);
    return record;
  }
@ Override public byte [ ] getRecord ( int position ) { buffer . position ( position + 2 ) ; final int recordSize = buffer . getInt ( ) ; final byte [ ] record = new byte [ recordSize ] ; buffer . get ( record ) ; return record ; }
{@inheritDoc}