1Stream::Buffered(3) User Contributed Perl Documentation Stream::Buffered(3)
2
3
4
6 Stream::Buffered - temporary buffer to save bytes
7
9 my $buf = Stream::Buffered->new($length);
10 $buf->print($bytes);
11
12 my $size = $buf->size;
13 my $fh = $buf->rewind;
14
16 Stream::Buffered is a buffer class to store arbitrary length of byte
17 strings and then get a seekable filehandle once everything is buffered.
18 It uses PerlIO and/or temporary file to save the buffer depending on
19 the length of the size.
20
22 Plack::Request
23
25 Tatsuhiko Miyagawa
26
27 This module is part of Plack, released as a separate distribution for
28 easier reuse.
29
31 The following copyright notice applies to all the files provided in
32 this distribution, including binary files, unless explicitly noted
33 otherwise.
34
35 Copyright 2009-2011 Tatsuhiko Miyagawa
36
38 This library is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40
41
42
43perl v5.32.0 2020-07-28 Stream::Buffered(3)