---
name: "ost_IZStream"
section: "3"
platform: "linux"
package: "libcommoncpp2-doc"
version: "1.8.1-10"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/ost_IZStream"
---

# ost\_IZStream(3)

## NAME

ost::IZStream

## SYNOPSIS

`#include <zstream.h>`

Inherits streambuf, and istream.

### Public Member Functions

**IZStream** (bool throwflag=false)\
 **IZStream** (const char \*name, size\_t size=512, bool tf=false)\
 bool **isOpen** (void)\
 void **close** (void)\
 virtual **~IZStream** ()\
 void **open** (const char \*name, size\_t size=512)\
 size\_t **getBufferSize** (void)\

### Protected Member Functions

void **allocate** (size\_t size)\
 int **underflow** ()\
 int **uflow** ()\

### Protected Attributes

size\_t **bufsize**\
 char \* **gbuf**\

## Constructor & Destructor Documentation

### ost::IZStream::IZStream (bool throwflag = `false`)

### ost::IZStream::IZStream (const char \* name, size\_t size = `512`, bool tf = `false`)

### virtual ost::IZStream::~IZStream ()` [virtual]`

## Member Function Documentation

### void ost::IZStream::allocate (size\_t size)` [protected]`

### void ost::IZStream::close (void)

### size\_t ost::IZStream::getBufferSize (void)` [inline]`

### bool ost::IZStream::isOpen (void)

### void ost::IZStream::open (const char \* name, size\_t size = `512`)

### int ost::IZStream::uflow ()` [protected]`

### int ost::IZStream::underflow ()` [protected]`

## Member Data Documentation

### size\_t ost::IZStream::bufsize` [protected]`

### char\* ost::IZStream::gbuf` [protected]`

## Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
