The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::EGTS::Packet - Packet common part

stream \$bin

Parse incoming stream and creates packages from it. If the data is not sufficient to create the package: returns the number of data as many more as required. The buffer is trimmed by the size of the created package.

Return:

undef, $need

if decode in process and need more data

object

if the packet is fully decoded

error code

if there are any problems

decode $bin

Decode binary stream $bin into packet object. Return:

undef, $need

if decode in process and need more data

object

if the packet is fully decoded

error code

if there are any problems

encode

Build packet as binary

as_debug

Return human readable string

1 POD Error

The following errors were encountered while parsing the POD:

Around line 259:

You forgot a '=back' before '=head2'