{en,de}codeCommand{Value,,Pack}() implementation.