Module: Canoser

Defined in:
lib/canoser.rb,
lib/canoser/field.rb,
lib/canoser/cursor.rb,
lib/canoser/struct.rb,
lib/canoser/version.rb

Defined Under Namespace

Classes: ArrayT, Bool, Cursor, HashT, IntField, Optional, ParseError, Str, Struct

Constant Summary collapse

Uint8 =
IntField.new(8)
Uint16 =
IntField.new(16)
Uint32 =
IntField.new(32)
Uint64 =
IntField.new(64)
Int8 =
IntField.new(8, true)
Int16 =
IntField.new(16, true)
Int32 =
IntField.new(32, true)
Int64 =
IntField.new(64, true)
DEFAULT_KV =
ArrayT.new(Uint8)
VERSION =
"0.2.1"