Project:dool
Class List Class Hierarchy
Summary: Ctors Methods

Module dool.io.InputStream

Interface InputStream

Extend interfaces:

interface InputStream



Methods Summary
void readExact(void* buffer, uint size)
          
uint read(ubyte buffer)
          
void read(byte x)
          
void read(ubyte x)
          
void read(short x)
          
void read(ushort x)
          
void read(int x)
          
void read(uint x)
          
void read(long x)
          
void read(ulong x)
          
void read(float x)
          
void read(double x)
          
void read(real x)
          
void read(ireal x)
          
void read(creal x)
          
void read(char x)
          
void read(wchar x)
          
void read(char s)
          
void read(wchar s)
          
char readLine()
          
char readLine(char result)
          
wchar readLineW()
          
wchar readLineW(wchar result)
          
char readString(uint length)
          
wchar readStringW(uint length)
          
char getc()
          
wchar getcw()
          
char ungetc(char c)
          
wchar ungetcw(wchar c)
          
int vscanf(char fmt, va_list args)
          
int scanf(char format, ... )
          
uint available()
          


void readExact(void* buffer, uint size)
//reads block of data of specified size, //throws ReadException on error
uint read(ubyte[] buffer)
//reads block of data big enough to fill the given //array, returns actual number of bytes read
void read(out byte x)
//read a single value of desired type, //throw ReadException on error
void read(out ubyte x)

void read(out short x)

void read(out ushort x)

void read(out int x)

void read(out uint x)

void read(out long x)

void read(out ulong x)

void read(out float x)

void read(out double x)

void read(out real x)

void read(out ireal x)

void read(out creal x)

void read(out char x)

void read(out wchar x)

void read(out char[] s)
//reads a string, written earlier by write()
void read(out wchar[] s)
//reads a Unicode string, written earlier by write()
char [] readLine()
//reads a line, terminated by either CR, LF, CR/LF, or EOF
char [] readLine(char[] result)
//reads a line, terminated by either CR, LF, CR/LF, or EOF //reusing the memory in result and reallocating if needed
wchar [] readLineW()
//reads a Unicode line, terminated by either CR, LF, CR/LF, //or EOF; pretty much the same as the above, working with //wchars rather than chars
wchar [] readLineW(wchar[] result)
//reads a Unicode line, terminated by either CR, LF, CR/LF, //or EOF; pretty much the same as the above, working with //wchars rather than chars
char [] readString(uint length)
//reads a string of given length, throws //ReadException on error
wchar [] readStringW(uint length)
//reads a Unicode string of given length, throws //ReadException on error
char getc()
//reads and returns next character from the stream, //handles characters pushed back by ungetc()
wchar getcw()
//reads and returns next Unicode character from the //stream, handles characters pushed back by ungetc()
char ungetc(char c)
//pushes back character c into the stream; only has //effect on further calls to getc() and getcw()
wchar ungetcw(wchar c)
//pushes back Unicode character c into the stream; only //has effect on further calls to getc() and getcw()
int vscanf(char[] fmt, va_list args)

int scanf(char[] format, ...)

uint available()