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


Net-AMQP documentation  | view source Contained in the Net-AMQP distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

EXPORTABLE METHODS

Top

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_octet
unpack_octet
pack_short_integer
unpack_short_integer
pack_long_integer
unpack_long_integer
pack_long_long_integer
unpack_long_long_integer
pack_timestamp
unpack_timestamp
pack_short_string
unpack_short_string
pack_field_table
unpack_field_table
%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.

SEE ALSO

Top

Net::AMQP

COPYRIGHT

Top

AUTHOR

Top

Eric Waters <ewaters@gmail.com>


Net-AMQP documentation  | view source Contained in the Net-AMQP distribution.