Write a LEB128 signed integer.
int writeLeb128SignedInt(int n) { var bs = Leb128.encodeSigned(n); return writeAllBytes(bs); }