writeLeb128SignedInt method

int writeLeb128SignedInt(
  1. int n
)

Write a LEB128 signed integer.

Implementation

int writeLeb128SignedInt(int n) {
  var bs = Leb128.encodeSigned(n);
  return writeAllBytes(bs);
}