public final class CuFileReadHandle extends Object
| Constructor and Description |
|---|
CuFileReadHandle(String path)
Construct a reader using the specified file path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected long |
getPointer() |
void |
read(CuFileBuffer buffer,
long fileOffset)
Read the file content into the specified cuFile buffer.
|
public CuFileReadHandle(String path)
path - The file path for reading.public void read(CuFileBuffer buffer, long fileOffset)
buffer - The cuFile buffer to store the content.fileOffset - The file offset from which to read.public void close()
close in interface AutoCloseableprotected long getPointer()
Copyright © 2023. All rights reserved.