def write_uleb128(value, data: nil, stream: nil)
      raise ArgumentError, "Integer must be present" if !value
      buf = encode_uleb128(value)
      data << buf if data
      stream.write(buf) if stream
      buf
    end
def write_uleb128(value, data: nil, stream: nil)
      raise ArgumentError, "Integer must be present" if !value
      buf = encode_uleb128(value)
      data << buf if data
      stream.write(buf) if stream
      buf
    end
Writes an unsigned integer encoded in LEB128 to a data buffer or a stream.
 Returns LEB128-encoded binary string.