FileTransferDownloadCompressedPart Method |
Downloads a compressed part of an ice.NET file. Each part is compressed separately.
Namespace: PDTec.IceNet.Domain.Development.ServiceAssembly: PDTec.IceNet.Domain (in PDTec.IceNet.Domain.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic static void DownloadCompressedPart(
IFile pFile,
int version,
int offset,
int requestedBufferSize,
out int uncompressedPartSize,
out byte[] aBuffer
)
Parameters
- pFile
- Type: PDTec.IceNet.Core.Model.FileIFile
The file object. - version
- Type: SystemInt32
The version. - offset
- Type: SystemInt32
The offset within the uncompressed file. - requestedBufferSize
- Type: SystemInt32
Size of the requested buffer. Since
the size of a compressed part cannot be precisely precalculated, the actual
buffer size can differ from the requestedBufferSize. It can be
up to twice the size of requestedBufferSize under certain
circumstances (already compressed content, e.g. jpeg, zip files). - uncompressedPartSize
- Type: SystemInt32
Size of the uncompressed part. Use this
to calculate the offset of the next part. - aBuffer
- Type: SystemByte
The buffer for the compressed content part.
See Also