public BufferIterator littleEndianIterator(){
  return new NioBufferIterator(address,(int)size,ByteOrder.nativeOrder() != ByteOrder.LITTLE_ENDIAN);
}

public BufferIterator littleEndianIterator ( ) { return new NioBufferIterator ( address , ( int ) size , ByteOrder . nativeOrder ( ) != ByteOrder . LITTLE_ENDIAN ) ; }
returns a new iterator that treats the mapped data as little - endian .
