Module: ComponentizeAny
- Defined in:
- lib/componentize_any.rb,
lib/componentize_any/version.rb
Defined Under Namespace
Classes: Error, WatGenerator, Witty
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.to_uleb128_bin(size) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/componentize_any.rb', line 8 def to_uleb128_bin(size) if size < 0x80 [size].pack("C") else [(size & 0x7f) | 0x80].pack("C") + to_uleb128_bin(size >> 7) end end |