public class FileNodeListHeader extends Object implements IBinarySerializable, com.aspose.ms.System.IEquatable<FileNodeListHeader>
The FileNodeListHeader structure specifies the beginning of a FileNodeListFragment structure.
Modifier and Type | Field and Description |
---|---|
static long |
HeaderSize
The size of header.
|
static long |
UintMagic
An unsigned integer; MUST be 0xA4567AB1F5F7F4C4 (1.1841787e+19E)
|
Constructor and Description |
---|
FileNodeListHeader(long fileNodeListId)
Initializes a new instance of the
FileNodeListHeader class. |
FileNodeListHeader(long fileNodeListId,
long nFragmentSequence)
Initializes a new instance of the
FileNodeListHeader class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FileNodeListHeader other)
The equals.
|
long |
getFileNodeListId()
An unsigned integer that specifies the identity of the file node list this fragment belongs to.
|
long |
getNFragmentSequence()
An unsigned integer that specifies the index of the fragment in the file node list containing the fragment.
|
long |
getStructSize()
Gets the struct size.
|
byte[] |
toByteArray()
The to byte array.
|
public static final long HeaderSize
The size of header.
public static final long UintMagic
An unsigned integer; MUST be 0xA4567AB1F5F7F4C4 (1.1841787e+19E)
public FileNodeListHeader(long fileNodeListId)
Initializes a new instance of the FileNodeListHeader
class.
fileNodeListId
- The file node list id.public FileNodeListHeader(long fileNodeListId, long nFragmentSequence)
Initializes a new instance of the FileNodeListHeader
class.
fileNodeListId
- The file node list id.nFragmentSequence
- The n fragment sequence.public long getFileNodeListId()
An unsigned integer that specifies the identity of the file node list this fragment belongs to. MUST be equal to or greater than 0x00000010 (16). The pair of FileNodeListID and nFragmentSequence fields MUST be unique relative to other FileNodeListFragment structures in the file.
public long getNFragmentSequence()
An unsigned integer that specifies the index of the fragment in the file node list containing the fragment. The nFragmentSequence field of the first fragment in a given file node list MUST be 0 and the nFragmentSequence fields of all subsequent fragments in this list MUST be sequential.
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
public boolean equals(FileNodeListHeader other)
The equals.
other
- The other.bool
.Copyright (c) 2017 Aspose. All Rights Reserved.