writeLeb128UnsignedInt method

int writeLeb128UnsignedInt(
  1. int n
)

Write a LEB128 unsigned integer.

Implementation

int writeLeb128UnsignedInt(int n) {
  var bs = Leb128.encodeUnsigned(n);
  return writeAllBytes(bs);
}