ToBytes32 is a convenience method for converting a byte slice to a fix
sized 32 byte array. This method will truncate the input if it is larger
than 32 bytes.
ToBytes48 is a convenience method for converting a byte slice to a fix
sized 48 byte array. This method will truncate the input if it is larger
than 48 bytes.