Stream::Buffered

Latest version: 0.03 registry icon
Maintenance score
0
Safety score
0
Popularity score
3
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
0.03 0 0 0 0 0
0.02 0 0 0 0 0
0.01 0 0 0 0 0

Stability
Latest release:

0.03 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

Artistic-1.0   -   Artistic License 1.0

Not a wildcard

Not proprietary

OSI Compliant


GPL-1.0-or-later   -   GNU General Public License v1.0 or later

Not a wildcard

Not proprietary

OSI Compliant



NAME

Stream::Buffered - temporary buffer to save bytes

SYNOPSIS

my $buf = Stream::Buffered->new($length);
$buf->print($bytes);

my $size = $buf->size;
my $fh   = $buf->rewind;

DESCRIPTION

Stream::Buffered is a buffer class to store arbitrary length of byte strings and then get a seekable filehandle once everything is buffered. It uses PerlIO and/or temporary file to save the buffer depending on the length of the size.

SEE ALSO

Plack::Request

AUTHOR

Tatsuhiko Miyagawa

This module is part of Plack, released as a separate distribution for easier reuse.

COPYRIGHT

The following copyright notice applies to all the files provided in this distribution, including binary files, unless explicitly noted otherwise.

Copyright 2009-2011 Tatsuhiko Miyagawa

LICENSE

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