encodeTo4Bytes

Encode as a four-byte array