CuFileReadHandle#
- public final class CuFileReadHandle extends CuFileHandle#
Represents a cuFile file handle for reading.
Constructor Summary
Construct a reader using the specified file path.
Method Summary
Read the file content into the specified cuFile buffer.
Constructors
- public CuFileReadHandle(String path)#
Construct a reader using the specified file path.
- Parameters:
path – The file path for reading.
Methods
- public void read(CuFileBuffer buffer, long fileOffset)#
Read the file content into the specified cuFile buffer.
- Parameters:
buffer – The cuFile buffer to store the content.
fileOffset – The file offset from which to read.
- public void close()#
Protected Methods
- protected long getPointer()#