Stream::Buffered(3pm)

Stream::Buffered3pm

Temporary buffer to save bytes

Usage

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

Overview

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8–10
  2. 11
  3. 12–13

Author

Tatsuhiko Miyagawa

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

License

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

From libstream-buffered-perl 0.03-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.