def pack(self):
buf = np.zeros(<NUM_LIT>, dtype=np.uint8)<EOL>packed_len = self._get_framed(buf, <NUM_LIT:0>, self._copy_payload)<EOL>d = buf[:packed_len]<EOL>return d.tobytes()<EOL>
Pack to framed binary message.