Class: Twilic::Core::Model::VectorCodec
- Inherits:
-
Object
- Object
- Twilic::Core::Model::VectorCodec
- Defined in:
- lib/twilic/core/model.rb
Defined Under Namespace
Classes: Entry
Constant Summary collapse
- PLAIN =
Entry.new(0)
- DIRECT_BITPACK =
Entry.new(1)
- DELTA_BITPACK =
Entry.new(2)
- FOR_BITPACK =
Entry.new(3)
- DELTA_FOR_BITPACK =
Entry.new(4)
- DELTA_DELTA_BITPACK =
Entry.new(5)
- RLE =
Entry.new(6)
- PATCHED_FOR =
Entry.new(7)
- SIMPLE8B =
Entry.new(8)
- XOR_FLOAT =
Entry.new(9)
- DICTIONARY =
Entry.new(10)
- STRING_REF =
Entry.new(11)
- PREFIX_DELTA =
Entry.new(12)
Class Method Summary collapse
Class Method Details
.from_byte(b) ⇒ Object
140 141 142 143 144 |
# File 'lib/twilic/core/model.rb', line 140 def self.from_byte(b) return Entry.new(b) if b <= 12 nil end |