decodeVaruint7 static method

dynamic decodeVaruint7(
  1. int byte
)

Utility method that decodes a varuint7 value. Using this is easier because you don't have to convert your byte into a Uint8List object first.

Implementation

static decodeVaruint7(int byte) {
  Uint8List input = Uint8List.fromList([byte]);
  return decodeUnsigned(input);
}