File.readByte() (Method)

Reads a single byte or character from the file.


JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Number primitive
JavaScript syntax:NESmyFile.readByte()

When this reads a byte, the position register for the File object is indexed onwards by one item.

This would be used to read a file as a stream of characters where the individual records will need to be determined by the script as it reads and buffers the file.

See, File.readln(), File.writeByte()