- Added utility macros for encoding and decoding