Lines Matching refs:Packer
24 .. class:: Packer()
26 :class:`Packer` is the class for packing data into XDR representation. The
27 :class:`Packer` class is instantiated with no arguments.
48 Packer Objects
51 :class:`Packer` instances have the following methods:
54 .. method:: Packer.get_buffer()
59 .. method:: Packer.reset()
70 .. method:: Packer.pack_float(value)
75 .. method:: Packer.pack_double(value)
82 .. method:: Packer.pack_fstring(n, s)
89 .. method:: Packer.pack_fopaque(n, data)
94 .. method:: Packer.pack_string(s)
101 .. method:: Packer.pack_opaque(data)
106 .. method:: Packer.pack_bytes(bytes)
113 .. method:: Packer.pack_list(list, pack_item)
125 p = xdrlib.Packer()
129 .. method:: Packer.pack_farray(n, array, pack_item)
137 .. method:: Packer.pack_array(list, pack_item)
178 In addition, every data type that can be packed with a :class:`Packer`, can be
273 p = xdrlib.Packer()