Alberto Attilio Reggiori

NAME

AMF::Connection::InputStream - A simple pure perl implementation of an input binary stream

SYNOPSIS

  # ...

  my $stream = new AMF::Connection::InputStream($binary_buffer_or_string);
  my $stream_with_options = new AMF::Connection::InputStream($binary_buffer_or_string, 'prefer_number, json_boolean');
  my $int = $stream->readInt();
  my $long = $stream->readLong();

  # ..

DESCRIPTION

The AMF::Connection::InputStream class is a simple pure perl implementation of an input binary stream.

OPTIONS

See Storable::AMF0 documentation.

SEE ALSO

Storable::AMF0, Data::AMF::IO, AMF::Perl::IO::InputStream

AUTHOR

Alberto Attilio Reggiori, <areggiori at cpan dot org>

COPYRIGHT AND LICENSE

Copyright (C) 2010-2011 by Alberto Attilio Reggiori

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.