Class: Bytepack::Byte

Inherits:
IntegerType show all
Defined in:
lib/bytepack/basic/fixed_size/integer_type/byte.rb

Direct Known Subclasses

Null, TypeInfo

Constant Summary collapse

DIRECTIVE =
'c'
LENGTH =
1
NULL_INDICATOR =

NULL indicator for object type serializations

-128 # NULL indicator for object type serializations

Method Summary

Methods inherited from FixedSize

pack, unpack

Methods inherited from Basic

bytesToInt, intToBytes, preprocess

Methods inherited from Struct

classifyDataType, config, packingDataType, single_type_array?, testpacking