Sherwin Daganato

NAME

BERT::Decoder - BERT deserializer

SYNOPSIS

  use BERT::Decoder;

  my $decoder = BERT::Decoder->new;
  my $data = $decoder->decode($bert);

DESCRIPTION

This module decodes BERT binaries into Perl data structures.

See the BERT specification at http://bert-rpc.org/.

METHODS

$decoder = BERT::Decoder->new

Creates a new BERT::Decoder object.

$bert = $decoder->decode($scalar)

Returns the Perl data structure for the given BERT binary. Croaks on error.

AUTHOR

Sherwin Daganato <sherwin@daganato.com>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

BERT BERT::Atom BERT::Boolean BERT::Dict BERT::Time BERT::Tuple