class_docstr: Pack various data representations into a buffer.
class_docstr_tok: ["Pack","various","data","representations","into","a","buffer","."]
code: def pack_bool(self, x):
      if x:
          self.__buf.write(b"\0\0\0\1")
      else:
          self.__buf.write(b"\0\0\0\0")
  
imports: import struct
  from io import BytesIO
  from functools import wraps
  import warnings
label_desc: Use image node_id 6 for calling the Packer obj's underlying member method code with example usage: obj.pack_bool(x) without return types