Class ChunkBlob
An unparsed chunk payload, preserved verbatim for round-trip. Backs chunks wowlib keeps opaque — offset-based (MOTA, MDDL) or undocumented (MPVD, MOMX).
public class ChunkBlob : IDisposable
- Inheritance
-
ChunkBlob
- Implements
- Inherited Members
Constructors
ChunkBlob()
public ChunkBlob()
ChunkBlob(ChunkBlob)
Copy-construct: a deep copy of other (the C++ copy constructor).
public ChunkBlob(ChunkBlob other)
Parameters
otherChunkBlob
Properties
Empty
Whether the payload holds any bytes.
public bool Empty { get; }
Property Value
Size
The payload size in bytes.
public ulong Size { get; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(ChunkBlob?, ChunkBlob?)
public static bool operator ==(ChunkBlob? l, ChunkBlob? r)
Parameters
Returns
operator !=(ChunkBlob?, ChunkBlob?)
public static bool operator !=(ChunkBlob? l, ChunkBlob? r)