read ()

xiaoxiao2021-03-06  34

Read java.Lang.Object java.io.inputstream java.io.FilterInputStream

Public int in (byte [] B,

Int off,

int LEN

Throws oException

Reads Up to

Len Bytes of Data from this Input Stream Into An Array Of Bytes. This Method Blocks Until Some INPUT IS AVAILABLE.

This Method Simply Performs In. Read (B, OFF, LEN) and Returns the Result.

OVERRIDES:

Read in class

InputStream

Parameters:

B - The Buffer Into Which The Data is Read.

Off - the start offset of the data. // The offset when reading

Len - The maximum number of bytes read.

Returns:

The total number of bytes read into the buffer, or

-1 if there is no more data because the end of the streen reached.

Throws:

IOEXCEPTION - IF AN I / O Error Occurs.

See Also:

in

转载请注明原文地址:https://www.9cbs.com/read-64579.html

New Post(0)