C++ Portable Types Library (PTypes) Version 2.0


Top: Streams: inmemory

#include <pstreams.h>

class inmemory: instm {
    inmemory(string imem);
}

Use inmemory to read data from a dynamic memory buffer by means of the streaming interface. Inmemory is derived from instm.

inmemory::inmemory(string imem) - constructs an inmemory object. The string passed through the imem parameter will be used by this object as a data source.

See also: iobase, instm


PTypes home