writeULEB method

BcsWriter writeULEB(
  1. int value
)

Write a ULEB value and shift cursor by the number of bytes written.

Implementation

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