Lines Matching refs:read
19 * Offset (in bytes) in the file to read
29 * an array of bytes. An attempt is made to read as many as
30 * <code>len</code> bytes, but a smaller number may be read, possibly
31 * zero. The number of bytes actually read is returned as an integer.
33 * @see SFTPv3Client#read(SFTPv3FileHandle,long,byte[],int,int)
36 public int read(byte[] buffer, int offset, int len) throws IOException
38 int read = handle.getClient().read(handle, readOffset, buffer, offset, len);
39 if(read > 0) {
40 readOffset += read;
42 return read;
60 public int read() throws IOException {
62 int read = handle.getClient().read(handle, readOffset, buffer, 0, 1);
63 if(read > 0) {
64 readOffset += read;
66 return read;