protected void readOptionalMeasure(ByteBuffer buffer){
  if (buffer.hasRemaining() && (buffer.limit() - buffer.position()) >= 8) {
    double[] mArray=ShapefileUtils.readDoubleArray(buffer,1);
    this.m=mArray[0];
  }
}

protected void readOptionalMeasure ( ByteBuffer buffer ) { if ( buffer . hasRemaining ( ) && ( buffer . limit ( ) - buffer . position ( ) ) >= 8 ) { double [ ] mArray = ShapefileUtils . readDoubleArray ( buffer , 1 ) ; this . m = mArray [ 0 ] ; } }
read any optional measure values from the record .
