public class FreeChunkListFragment extends Object implements IListFragment, com.aspose.ms.System.IEquatable<FreeChunkListFragment>
The FreeChunkListFragment structure specifies a fragment in the free chunk list.
Constructor and Description |
---|
FreeChunkListFragment(long crc,
FileChunkReference64X32 fcrNextChunk,
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<FileChunkReference64> fcrFreeChunk)
Initializes a new instance of the
FreeChunkListFragment class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FreeChunkListFragment other)
The equals.
|
long |
getCrc()
Gets the crc.
|
com.aspose.ms.System.Collections.Generic.List<FileChunkReference64> |
getFcrFreeChunk()
An array of FileChunkReference64 structures where each element in the array specifies a reference to unused parts of the file.
|
FileChunkReference64X32 |
getNextFragmentReference()
Gets a reference to another FreeChunkListFragment structure.
|
long |
getStructSize()
Gets the struct size.
|
byte[] |
toByteArray()
The to byte array.
|
public FreeChunkListFragment(long crc, FileChunkReference64X32 fcrNextChunk, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<FileChunkReference64> fcrFreeChunk)
Initializes a new instance of the FreeChunkListFragment
class.
crc
- The crc.fcrNextChunk
- The fcr next chunk.fcrFreeChunk
- The fcr free chunk.public long getCrc()
Gets the crc.
public FileChunkReference64X32 getNextFragmentReference()
Gets a reference to another FreeChunkListFragment structure. If the value of the fcrNextChunk field is "fcrNil", then this is the last FreeChunkListFragment structure.
getNextFragmentReference
in interface IListFragment
public com.aspose.ms.System.Collections.Generic.List<FileChunkReference64> getFcrFreeChunk()
An array of FileChunkReference64 structures where each element in the array specifies a reference to unused parts of the file.
public boolean equals(FreeChunkListFragment other)
The equals.
other
- The other.bool
.public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
T:byte[]
.com.aspose.ms.System.InvalidOperationException
Copyright (c) 2016 Aspose. All Rights Reserved.