convert a value to raw bytes. Only certain values can be converted. Throws exception if not possible
See Implementation
convert a value to raw bytes. Only certain values can be converted. Throws exception if not possible