Lines Matching refs:Packer
25 .. class:: Packer()
27 :class:`Packer` is the class for packing data into XDR representation. The
28 :class:`Packer` class is instantiated with no arguments.
49 Packer Objects
52 :class:`Packer` instances have the following methods:
55 .. method:: Packer.get_buffer()
60 .. method:: Packer.reset()
71 .. method:: Packer.pack_float(value)
76 .. method:: Packer.pack_double(value)
83 .. method:: Packer.pack_fstring(n, s)
90 .. method:: Packer.pack_fopaque(n, data)
95 .. method:: Packer.pack_string(s)
102 .. method:: Packer.pack_opaque(data)
107 .. method:: Packer.pack_bytes(bytes)
114 .. method:: Packer.pack_list(list, pack_item)
126 p = xdrlib.Packer()
130 .. method:: Packer.pack_farray(n, array, pack_item)
138 .. method:: Packer.pack_array(list, pack_item)
179 In addition, every data type that can be packed with a :class:`Packer`, can be
274 p = xdrlib.Packer()