Servertec | read( ) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Return value(s) read from the specified file input stream, piped input stream, string buffer input stream, data input stream, data input, random access file or input stream object. Syntaxread( inputstream )inputstream.read( ) Parametersinputstream the file input stream, piped input stream, string buffer input stream, random access file, data input stream, data input or input stream or object to use.Returnsinteger the byte read.-1 if end of file was reached. Example
Syntaxread( inputstream, bytearray )inputstream.read( bytearray ) Parametersinputstream the file input stream, piped input stream, string buffer input stream, random access file, data input stream, data input or input stream or object to use.bytearray a byte array object to read into. Returnslength the number of bytes read.-1 if end of file was reached. Example
Syntaxread( inputstream, bytearray, offset, length )inputstream.read( bytearray, offset, length ) Parametersinputstream the file input stream, piped input stream, string buffer input stream, random access file, data input stream, data input or input stream or object to use.bytearray a byte array object to read into. offset a starting offset. length the number of bytes to read. Returnslength the number of bytes read.-1 if end of file was reached. Example
|
|
top of page
|