encodeUInt32 static method

Uint8List encodeUInt32(
  1. int n
)

Implementation

static Uint8List encodeUInt32(int n) {
  var t = Uint8List(4);
  t[0] = n >> 24;
  t[1] = n >> 16;
  t[2] = n >> 8;
  t[3] = n;

  return t;
}