logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Net::AMQP::Common - A collection of exportable tools for AMQP (de)serialization

Author

       Eric Waters <ewaters@gmail.com>

perl v5.40.1                                       2025-06-25                             Net::AMQP::Common(3pm)

Exportable Methods

       The following are available for exporting by name or by ':all'.  All the 'pack_*' methods take a single
       argument and return a binary string.  All the 'unpack_*' methods take a scalar ref and return a perl data
       structure of some type, consuming some data from the scalar ref.

       pack_octetunpack_octetpack_short_integerunpack_short_integerpack_long_integerunpack_long_integerpack_long_long_integerunpack_long_long_integerpack_unsigned_short_integerunpack_unsigned_short_integerpack_unsigned_long_integerunpack_unsigned_long_integerpack_unsigned_long_long_integerunpack_unsigned_long_long_integerpack_timestampunpack_timestamppack_booleanunpack_booleanpack_short_stringunpack_short_stringpack_field_tableunpack_field_tablepack_field_array
           Tables  and  arrays  sometimes  require  explicit typing.  See Net::AMQP::Value.  Also, in tables and
           arrays booleans from the boolean module are sent as AMQP booleans.

       unpack_field_array%data_type_map
           A mapping of the XML spec's data type names to our names ('longstr' => 'long_string')

       show_ascii
           A helper routine that, given a binary string, returns a string of each byte  represented  by  '\###',
           base 10 numbering.

Name

       Net::AMQP::Common - A collection of exportable tools for AMQP (de)serialization

See Also

       Net::AMQP

Synopsis

         use Net::AMQP::Common qw(:all)

See Also