Click or drag to resize

Chunk Class

Chunk data structure
Inheritance Hierarchy
SystemObject
  DownloaderChunk

Namespace: Downloader
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class Chunk

The Chunk type exposes the following members.

Constructors
 NameDescription
Public methodChunkInitializes a new instance of the Chunk class
Public methodChunk(Int64, Int64)Initializes a new instance of the Chunk class
Top
Properties
 NameDescription
Public propertyCanWrite Can write more data on this chunk according to the chunk situations?
Public propertyEmptyLength Unused length of current chunk. When the chunk length is zero, the file is open to receive new bytes until no more bytes are received from the server.
Public propertyEnd End offset of the chunk in the file bytes
Public propertyFailoverCount How many times has downloading the chunk failed?
Public propertyId Chunk unique identity name
Public propertyLength Length of current chunk. When the chunk length is zero, the file is open to receive new bytes until no more bytes are received from the server.
Public propertyMaxTryAgainOnFailover How many times to try again after the error
Public propertyPosition Current write offset of the chunk
Public propertyStart Start offset of the chunk in the file bytes
Public propertyTimeout How many milliseconds to wait for a response from the server?
Top
Methods
 NameDescription
Public methodCanTryAgainOnFailover 
Public methodClear 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsDownloadCompleted 
Public methodIsValidPosition 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also