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 also: | File.read(), File.readln(), File.writeByte() |
Prev | Home | Next |
File.read() | Up | File.readln() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |