back to index
StdErrStream
Inheritance
Object -> Stream -> StdErrStream
Properties
byteOrder - readwrite, BIG_ENDIAN or LITTLE_ENDIAN
object - write,
offset - read
size - read
i8 - write byte to stream
i16 - write word to stream
i32 - write dword to stream
f32 - write floating point number to stream
f64 - convert float<->double
Constants
SEEK_BEG, SEEK_CUR, SEEK_END - arguments to seek()
Methods
close ()
deserialize (Object _o, int _rtti)
int eof ()
flush ()
int getByteOrder ()
int getErrorCode ()
String getErrorStringByCode (int _code)
int getOffset ()
int getSize ()
int isOpen ()
setI8 (int _i)
setI16 (int _i)
setI32 (int _i)
setF32 (float _f)
serialize (Object _o, int _rtti)
setByteOrder (int _order) - BIG_ENDIAN or LITTLE_ENDIAN
setObject (Object _o)
int writeBuffer (Buffer _b, int _off, int _num)
int writeString (String _s, int _off, int _num)
Example
StdErrStream.writeString("hello",0,5);
back to index