RepositoryControllerGetFileDataChunk Method
Return data chunk from specified file
Namespace: FileHold.DocumentRepositoryAssembly: FileHold.DocumentRepository (in FileHold.DocumentRepository.dll) Version: 17.1.0.0
[WebMethodAttribute(Description = "Return data chunk from specified file")]
public int GetFileDataChunk(
Guid token,
ref byte[] buffer,
long position,
int chunkSize
)
- token Guid
- id of the file to get data from
- buffer Byte
- buffer for chunk
- position Int64
- specifies starting position in the file from which data will be read
- chunkSize Int32
- size of the chunk
Int32Number of bytes read.
This method is obsolete, use DownloadFileDataChunk instead().
1. input � id of the file to get data from; specifies starting position in the file from which data will be read; size of the chunk
2. Get [ChunkSize] number of bytes from the file from [Position] position
3. return chunk