public abstract class FileChunkReference extends Object implements com.aspose.ms.System.IEquatable<FileChunkReference>, IBinarySerializable
Base class for all chunk reference types. Zero: Specifies a file chunk reference where all bits of the position and length fields are set to zero. Nil: Specifies a file chunk reference where all bits of the position field are set to 1, and all bits of the length field are set to zero.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FileChunkReference other) |
boolean |
equals(Object obj) |
ReferencedDataLength |
getCb()
Gets an unsigned integer that specifies the size, in bytes, of the referenced data.
|
ReferencedDataPosition |
getStp()
Gets an unsigned integer that specifies the location of the referenced data in the file.
|
long |
getStructSize()
Gets the struct size.
|
int |
hashCode() |
boolean |
isFcrNil()
Gets a value indicating whether is Nil value.
|
boolean |
isFcrZero()
Gets a value indicating whether is Zero value.
|
static boolean |
op_Equality(FileChunkReference reference1,
FileChunkReference reference2)
The ==.
|
static boolean |
op_Inequality(FileChunkReference reference1,
FileChunkReference reference2)
The !=.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public ReferencedDataPosition getStp()
Gets an unsigned integer that specifies the location of the referenced data in the file.
public ReferencedDataLength getCb()
Gets an unsigned integer that specifies the size, in bytes, of the referenced data.
public boolean isFcrZero()
Gets a value indicating whether is Zero value.
public boolean isFcrNil()
Gets a value indicating whether is Nil value.
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
T:byte[]
.public static boolean op_Inequality(FileChunkReference reference1, FileChunkReference reference2)
The !=.
reference1
- The reference 1.reference2
- The reference 2.public static boolean op_Equality(FileChunkReference reference1, FileChunkReference reference2)
The ==.
reference1
- The reference 1.reference2
- The reference 2.public boolean equals(FileChunkReference other)
public boolean equals(Object obj)
equals
in interface com.aspose.ms.System.IEquatable<FileChunkReference>
equals
in class Object
Copyright (c) 2017 Aspose. All Rights Reserved.