Pack/unpack values of the given type

pack_custom(value, spec)

unpack_custom(value, spec)

pack_integer(value, spec)

unpack_integer(value, spec)

pack_scaled(value, spec)

unpack_scaled(value, spec)

pack_logical(value, spec)

unpack_logical(value, spec)

pack_choice(value, spec)

unpack_choice(value, spec)

pack_double(value, spec)

unpack_double(value, spec)

pack_colour(value, spec)

unpack_colour(value, spec)

Arguments

value

value to pack

spec

specification for encoding this value