MessageWriter.pack works