Search completed in 0.88 seconds.
2 results for "write32":
Writing to Files - Archive of obsolete content
ArchiveMozillaXULFileGuideFileWriting
write32 will write four bytes.
...the write32 method performs a similar operation except that the value 1000 is written using four bytes, padding the unused bits with zeroes.
... 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.
... for the write16 and write32 methods, the values are always interpreted as unsigned values.
nsIBinaryOutputStream
MozillaTechXPCOMReferenceInterfacensIBinaryOutputStream
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); void writeutf8z(in wstring astri...
... write32() writes a 32-bit integer to the stream.
... void write32( in pruint32 a32 ); parameters a32 the 32-bit integer to write to the stream.