encodeToByteArray

Encode as a four-byte array