Class: Twilic::Core::Model::ControlStreamCodec
- Inherits:
-
Object
- Object
- Twilic::Core::Model::ControlStreamCodec
- Defined in:
- lib/twilic/core/model.rb
Defined Under Namespace
Classes: Entry
Constant Summary collapse
- PLAIN =
Entry.new(0)
- RLE =
Entry.new(1)
- BITPACK =
Entry.new(2)
- HUFFMAN =
Entry.new(3)
- FSE =
Entry.new(4)
Class Method Summary collapse
Class Method Details
.from_byte(b) ⇒ Object
237 238 239 240 241 |
# File 'lib/twilic/core/model.rb', line 237 def self.from_byte(b) return Entry.new(b) if b <= 4 nil end |