What's new? | Help | Directory | Sign in
Google
jslibs
standalone Javascript development environment with general purpose native libraries.
  
  
  
  
    
Search
for
Updated Mar 10, 2008 by soubok
jsstd  

summary jsstd module #labels doc

- source - main -

jsstd module

Static functions

Static properties


jsstd::Buffer class

Buffer class is a simple buffer that allows arbitrary length input and output.

Functions

Properties

Callback functions

Remarks

Buffer class supports NI_READ_RESOURCE.

example

 var buf = new Buffer();
 buf.Write('1234');
 buf.Write('5');
 buf.Write('');
 buf.Write('6789');
 Print( buf.Read() );

example

 var buf = new Buffer();
 buf.Write('0123456789');
 Print( buf.Read(4) );
 Print( buf.Read(1) );
 Print( buf.Read(1) );
 Print( buf.Read(4) );

jsstd::Pack class

Pack is a class that helps to convert binary data into Integer, Real or String and to write an integer in a binary data string. The Pack class manages the system endian or network endian.

Functions

Properties

  • systemBigEndian
  • Is <true> if the system endian is BigEndian else is <false>.

-
source - top - main -


Sign in to add a comment