setLength function

Uint8List setLength(
  1. Uint8List msg,
  2. int length, {
  3. bool right = false,
})

Implementation

Uint8List setLength(Uint8List msg, int length, {bool right = false}) {
  return setLengthLeft(msg, length, right: right);
}