Flash Media Server |
|||
| Server-Side ActionScript Language Reference > Server-Side ActionScript Language Reference > File class > File.writeByte() | |||
Flash Media Server 2.
fileObject.writeByte(number)
number The numeric value to write.
A Boolean value indicating whether the write was successful (true) or not (false).
Method; writes a byte to a file.
The file contents are buffered internally. The File.flush() method writes the buffer to the file on disk.
The following example writes byte 65 to the end of the myFileObject file:
if (myFileObject.open("text","append")) {
myFileObject.writeByte(65);
}
File.write(), File.writeAll(), File.writeln()