Statically define some constants in writing messages to byte buffers.