→ home
 
→ index of namespace default
 
→ index of project core
 
→ index of module core

Class core.Stream


Synopsis: Base class for input/output stream objects.

  Base classes:
  Derived classes:
  Methods:
Method close
Signature
close()

 
→ top of page
Method deserialize
Signature
deserialize(Objecto,
  booleanbTypeInfo 
  )  
 :boolean
Arguments
Objecto–
booleanbTypeInfo–
Returns
boolean–

 
→ top of page
Method eof
Signature
eof():boolean
Returns
boolean–

 
→ top of page
Method getB8
Read 8bit boolean from stream (either 1 or 0).
Signature
getB8():boolean
Returns
boolean–

 
→ top of page
Method getByteOrder
Signature
getByteOrder():int
Returns
int–

 
→ top of page
Method getErrorCode
Signature
getErrorCode():int
Returns
int–

 
→ top of page
Method getErrorStringByCode
Signature
getErrorStringByCode(interrorCode)
 :String
Arguments
interrorCode–
Returns
String–

 
→ top of page
Method getF32
Signature
getF32():float
Returns
float–

 
→ top of page
Method getF64
@todo Make it return a Double object
Signature
getF64():float
Returns
float–

 
→ top of page
Method getI16
Read unsigned short from stream.
Signature
getI16():short
Returns
short–

 
→ top of page
Method getI32
Signature
getI32():int
Returns
int–

 
→ top of page
Method getI8
Read unsigned byte from stream.
Signature
getI8():byte
Returns
byte–

 
→ top of page
Method getObject
Signature
getObject(Objectdest)
Arguments
Objectdest–

 
→ top of page
Method getOffset
Signature
getOffset():int
Returns
int–

 
→ top of page
Method getS16
Read signed short from stream (extend to int).
Signature
getS16():short
Returns
short–

 
→ top of page
Method getS8
Read signed byte from stream (extend to int).
Signature
getS8():byte
Returns
byte–

 
→ top of page
Method getSize
Signature
getSize():int
Returns
int–

 
→ top of page
Method getU16
Read unsigned short from stream.
Signature
getU16():short
Returns
short–

 
→ top of page
Method getU8
Read unsigned byte from stream.
Signature
getU8():byte
Returns
byte–

 
→ top of page
Method readBuffer
Signature
readBuffer(Bufferbuf,
  intoff,
  intnum,
  booleanbResize 
  )  
 :int
Arguments
Bufferbuf–
intoff–
intnum–
booleanbResize–
Returns
int–

 
→ top of page
Method readLine
Signature
readLine(Strings,
  intmax 
  )  
 :boolean
Arguments
Strings–
intmax–
Returns
boolean–

 
→ top of page
Method readString
Signature
readString(Strings,
  intnum 
  )  
 :boolean
Arguments
Strings–
intnum–
Returns
boolean–

 
→ top of page
Method seek
Signature
seek(intoff,
  intmode 
  )  
Arguments
intoff–
intmode–

 
→ top of page
Method serialize
Signature
serialize(Objectsrc,
  booleanbTypeInfo 
  )  
Arguments
Objectsrc–
booleanbTypeInfo–

 
→ top of page
Method setByteOrder
Signature
setByteOrder(intbyteOrder)
Arguments
intbyteOrder–

 
→ top of page
Method setF32
Signature
setF32(floatv)
Arguments
floatv–

 
→ top of page
Method setF64
@todo make this method take a Double object argument
Signature
setF64(floatv)
Arguments
floatv–

 
→ top of page
Method setI16
Signature
setI16(shortv)
Arguments
shortv–

 
→ top of page
Method setI32
Signature
setI32(intv)
Arguments
intv–

 
→ top of page
Method setI8
Signature
setI8(bytev)
Arguments
bytev–

 
→ top of page
Method setObject
Signature
setObject(Objectsrc)
Arguments
Objectsrc–

 
→ top of page
Method setOffset
Signature
setOffset(intoffset)
Arguments
intoffset–

 
→ top of page
Method writeBuffer
Signature
writeBuffer(Bufferbuf,
  intoff,
  intnum 
  )  
 :boolean
Arguments
Bufferbuf–
intoff–
intnum–
Returns
boolean–

 
→ top of page
Method writeString
Signature
writeString(Strings,
  intoff,
  intnum 
  )  
 :boolean
Arguments
Strings–
intoff–
intnum–
Returns
boolean–

 
→ top of page
 

Project Modules:core 
Project Classes:Boolean , Buffer , Byte , Class , ClassArray , Condition , Configuration , Double , DummyStream , Envelope , Event , Exception , File , Float , FloatArray , FloatArray128 , FloatArray16 , FloatArray32 , FloatArray64 , FloatArray8 , Function , HashTable , IntArray , IntArray128 , IntArray16 , IntArray32 , IntArray64 , IntArray8 , Integer , List , ListNode , Long , Mailbox , Mutex , Object , ObjectArray , PakFile , PointerArray , Pool , Script , SharedBuffer , Short , Stack , StdErrStream , StdInStream , StdOutStream , Stream , String , String128 , String16 , String32 , String64 , String8 , StringArray , StringIterator , Thread , Time , TKS , TreeNode , UnsignedByte , UnsignedInteger , UnsignedLong , UnsignedShort , Value , ValueArray , Variable 
Project Functions:ceil , exit , floor , GetCurrentThread , getenv , lcchar , mathAbsMaxf , mathAbsMinf , mathAbsMini , mathAbsMini , mathClampf , mathClampi , mathDistancePointPlane2d , mathLerpf , mathMaxf , mathMaxi , mathMinf , mathMini , mathPowerf , mathPoweri , mathSmoothStepf , mathWrapf , mathWrapi , milliSeconds , psystem , putenv , srand , system , ucchar 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54