public class ReferencedDataLengthCompressed1 extends ReferencedDataLength
The referenced data length format 2.
ReferencedDataLength.Factory
Modifier and Type | Field and Description |
---|---|
static byte |
Format
Length format according to the table in MS-One 2.4.3.
|
Constructor and Description |
---|
ReferencedDataLengthCompressed1() |
Modifier and Type | Method and Description |
---|---|
static boolean |
fitted(long value)
Indicates whether a value fits the position format.
|
byte |
getCbFormat()
Gets the length format according to the table in MS-One 2.4.3.
|
long |
getStructSize()
Gets the struct size.
|
void |
initFromStream(com.aspose.ms.System.IO.BinaryReader reader)
Fills length value from stream reader.
|
void |
initFromValue(long value)
Fills length value from existing value.
|
byte[] |
toByteArray()
The to byte array.
|
equals, getValue, hashCode, toString
public static final byte Format
Length format according to the table in MS-One 2.4.3.
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
getStructSize
in class ReferencedDataLength
public byte getCbFormat()
Gets the length format according to the table in MS-One 2.4.3.
getCbFormat
in class ReferencedDataLength
public static boolean fitted(long value)
Indicates whether a value fits the position format.
public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
toByteArray
in class ReferencedDataLength
T:byte[]
.public void initFromValue(long value)
ReferencedDataLength
Fills length value from existing value.
initFromValue
in class ReferencedDataLength
value
- The value.public void initFromStream(com.aspose.ms.System.IO.BinaryReader reader)
Fills length value from stream reader.
initFromStream
in class ReferencedDataLength
reader
- The reader.Copyright (c) 2016 Aspose. All Rights Reserved.