default int copyTo(@NotNull byte[] bytes) throws BufferUnderflowException {
  int len=(int)Math.min(bytes.length,readRemaining());
  for (int i=0; i < len; i++)   bytes[i]=readByte(start() + i);
  return len;
}

default int copyTo ( @ NotNull byte [ ] bytes ) throws BufferUnderflowException { int len = ( int ) Math . min ( bytes . length , readRemaining ( ) ) ; for ( int i = 0 ; i < len ; i ++ ) bytes [ i ] = readByte ( start ( ) + i ) ; return len ; }
read a byte [ ] from memory .
