Home Download Musics Developers
API Sources Tools File Format Technicals

istream68_null.h File Reference


Detailed Description

Null stream header.

Author:
Benjamin Gerard
Date:
2003/10/10
Id
istream68_null.h,v 1.1 2003/10/10 10:23:20 benjihan Exp

#include "file68/istream68.h"

Go to the source code of this file.

Null stream

Implements a null istream_t.

Null stream does nothing but checking some trivial errors (like access without opening) and dealing with a virtual stream position. The null stream length is the position the highest byte that has been either read or write. The length is resetted at open. It implies that stream length can be retrieved by the istream_length() function after istream_close() call.

istream_tistream_null_create (const char *name)
 Creates a null stream.