do not require values for calcLength
consider endianness when enc/dec strings