ZIPIOS_INFLATEINPUTSTREAMBUF(3)

πŸ“¦
version 0.1.5.9+cvs.2007.04.28 Β· 2 versions
, in ubuntu jammy

πŸ’– zipios::InflateInputStreambuf(3) β€” Library Functions Manual πŸ’–

okay bestie, sit down, hydrate, and let me tell you about zipios::InflateInputStreambuf because this one is literally the glow-up filter of the stream world ✨


🌸 NAME 🌸

zipios::InflateInputStreambuf β€” she's an input stream filter, and her whole job is inflating the input coming from the attached input stream. no cap. πŸŽ€


✨ SYNOPSIS ✨

#include <inflateinputstreambuf.h>

Inherits zipios::FilterInputStreambuf.

Inherited by zipios::ZipInputStreambuf.

πŸ¦‹ Public Member Functions

  • InflateInputStreambuf (streambuf *inbuf, int s_pos=-1, bool del_inbuf=false) β€” the constructor, she builds the whole vibe.
  • bool reset (int stream_position=-1) β€” resets the zlib stream and purges input and output buffers. clean slate energy πŸ’…

🧚 Protected Member Functions

  • virtual int underflow ()

πŸ“ Protected Attributes

  • const int _outvecsize
  • vector< char > _outvec

πŸ‘‘ Detailed Description πŸ‘‘

InflateInputStreambuf is an input stream filter, that inflates the input from the attached input stream. periodt. πŸ’–

Deflation/Inflation is a compression/decompression method used in gzip and zip. The zlib library is used to perform the actual inflation, this class only wraps the functionality in an input stream filter. so like… she's not doing the heavy lifting herself, she's the cute lil wrapper making it all stream-shaped 🫢

Definition at line 22 of file inflateinputstreambuf.h.

🌈 Constructor & Destructor Documentation 🌈

πŸ’œ zipios::InflateInputStreambuf::InflateInputStreambuf (streambuf * inbuf, int s_pos = -1, bool del_inbuf = false) [explicit]

InflateInputStreambuf constructor. the main character entrance, honestly 😭

Parameters

  • inbuf β€” the streambuf to use for input. that's the snack she's munching on.
  • s_pos β€” a position to reset the inbuf to before reading. Specify -1 to read from the current position.
  • del_inbuf β€” if true is specified inbuf will be deleted, when the InflateInputStreambuf is destructed. so like, she takes ownership. be aware πŸ’€
Definition at line 18 of file inflateinputstreambuf.cpp.

⭐ Member Function Documentation ⭐

🌟 bool zipios::InflateInputStreambuf::reset (int stream_position = -1)

Resets the zlib stream and purges input and output buffers. repositions the input streambuf at stream_position. it's giving factory reset but make it cute ✨

Parameters

  • stream_position β€” a position to reset the inbuf to before reading. Specify -1 to read from the current position.
Definition at line 117 of file inflateinputstreambuf.cpp.

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for Zipios++ from the source code. not a human author, just the robots doing their lil thing πŸ™ˆ


okay that's the whole page bestie, you're now officially fluent in InflateInputStreambuf πŸ’…

this was brought to you by Zipios++, dated Tue Mar 24 2020 β€” so yeah, vintage in internet years, but she still slays πŸ‘‘βœ¨ bye pookie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from