read
abstract suspend fun read(handle: SftpFileHandle, offset: Long, length: Int): SftpResult<ByteArray?>(source)
Read data from an open file at the given offset. Returns SftpResult.Success with data, or with null at EOF.
Read data from an open file at the given offset. Returns SftpResult.Success with data, or with null at EOF.