writeULEB method

BcsWriter writeULEB(
  1. int value
)

Write a ULEB value into a buffer and shift cursor position by number of bytes written.

Implementation

BcsWriter writeULEB(int value) {
  final data = ulebEncode(value);
  for (var item in data) {
    write8(item);
  }
  return this;
}