DOKK / manpages / debian 12 / libstream-buffered-perl / Stream::Buffered.3pm.en
Stream::Buffered(3pm) User Contributed Perl Documentation Stream::Buffered(3pm)

Stream::Buffered - temporary buffer to save bytes

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

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.

Plack::Request

Tatsuhiko Miyagawa

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

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

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

2022-10-21 perl v5.34.0