nextUint16 method

  1. @override
int nextUint16()
inherited

Get two bytes long random int.

Implementation

@override
int nextUint16() {
  var b0 = nextUint8();
  var b1 = nextUint8();
  return clip16((b1 << 8) | b0);
}