Poco

class NullStreamBuf

File Information

Library: Foundation
Package: Streams
Header: Poco/NullStream.h

Description

This stream buffer discards all characters written to it. Any read operation immediately yields EOF.

Inheritance

Direct Base Classes: UnbufferedStreamBuf

All Base Classes: UnbufferedStreamBuf

Member Summary

Member Functions: readFromDevice, writeToDevice

Constructors

NullStreamBuf

NullStreamBuf();

Creates a NullStreamBuf.

Destructor

~NullStreamBuf

~NullStreamBuf();

Destroys the NullStreamBuf.

Member Functions

readFromDevice protected

int readFromDevice();

writeToDevice protected

int writeToDevice(
    char c
);

Securely control IoT edge devices from anywhere   Connect a Device