Search completed in 1.60 seconds.
Writing to Files - Archive of obsolete content
write16 will write two bytes to the stream.
... in this example, the
write16 method is used to write the value 1000 in two bytes.
...stream.
write16(1000); stream.write32(1000); all values are read in big endian form, which means that integers are stored in the file with their higher bits first.
...And 2 more matches
nsIBinaryOutputStream
inherits from: nsioutputstream last changed in gecko 1.7 method overview void setoutputstream(in nsioutputstream aoutputstream); void write8(in pruint8 abyte); void
write16(in pruint16 a16); void write32(in pruint32 a32); void write64(in pruint64 a64); void writeboolean(in prbool aboolean); void writebytearray([array, size_is(alength)] in pruint8 abytes, in pruint32 alength); void writebytes(alength)] in string astring, in pruint32 alength); void writedouble(in double adouble); void writefloat(in float afloat); void writestringz(in string astring); ...
...
write16() writes a 16-bit integer to the stream.
... void
write16( in pruint16 a16 ); parameters a16 the 16-bit integer to write to the stream.