File.readByte()

Availability

Flash Media Server 2.

Usage

fileObject.readByte()

Parameters

Returns

A number; either a positive integer or -1.

Description

Method; reads the next byte from the file and returns the numeric value of the next byte or -1 if the operation fails. The operation fails if file is not opened in binary mode.

See also

File.read(), File.readAll(), File.readln()