Class: Bytepack::Null

Inherits:
Byte show all
Defined in:
lib/bytepack/basic/fixed_size/null.rb

Constant Summary

Constants inherited from Byte

Byte::DIRECTIVE, Byte::LENGTH, Byte::NULL_INDICATOR

Class Method Summary collapse

Methods inherited from FixedSize

unpack

Methods inherited from Basic

bytesToInt, intToBytes, preprocess

Methods inherited from Struct

classifyDataType, config, packingDataType, single_type_array?, testpacking

Class Method Details

.packObject



5
6
7
# File 'lib/bytepack/basic/fixed_size/null.rb', line 5

def pack(*)
  super(Byte::NULL_INDICATOR)
end