public class PrtFourBytesOfLengthFollowedByData extends Object implements IBinarySerializable, com.aspose.ms.System.IEquatable<PrtFourBytesOfLengthFollowedByData>
Gets a container of variable-sized data used by properties in a PropertySet structure.
Modifier and Type | Field and Description |
---|---|
static long |
MaxCb
Gets the max CB value.
|
Constructor and Description |
---|
PrtFourBytesOfLengthFollowedByData(long cb,
byte[] data)
Initializes a new instance of the
PrtFourBytesOfLengthFollowedByData class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
The equals.
|
boolean |
equals(PrtFourBytesOfLengthFollowedByData other)
The equals.
|
long |
getCb()
Gets the size, in bytes, of the Data field.
|
byte[] |
getData()
Gets a stream of bytes that specifies the data for the property.
|
long |
getStructSize()
Gets the struct size.
|
int |
hashCode()
The get hash code.
|
static boolean |
op_Equality(PrtFourBytesOfLengthFollowedByData x,
PrtFourBytesOfLengthFollowedByData y)
The ==.
|
static boolean |
op_Inequality(PrtFourBytesOfLengthFollowedByData x,
PrtFourBytesOfLengthFollowedByData y)
The !=.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public static final long MaxCb
Gets the max CB value.
public PrtFourBytesOfLengthFollowedByData(long cb, byte[] data)
Initializes a new instance of the PrtFourBytesOfLengthFollowedByData
class.
public long getCb()
Gets the size, in bytes, of the Data field. must be less than 0x40000000.
public byte[] getData()
Gets a stream of bytes that specifies the data for the property.
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(PrtFourBytesOfLengthFollowedByData other)
The equals.
other
- The other.bool
.public boolean equals(Object obj)
The equals.
equals
in interface com.aspose.ms.System.IEquatable<PrtFourBytesOfLengthFollowedByData>
equals
in class Object
public static boolean op_Equality(PrtFourBytesOfLengthFollowedByData x, PrtFourBytesOfLengthFollowedByData y)
The ==.
x
- The x.y
- The y.public static boolean op_Inequality(PrtFourBytesOfLengthFollowedByData x, PrtFourBytesOfLengthFollowedByData y)
The !=.
x
- The x.y
- The y.public String toString()
The to string.
Copyright (c) 2017 Aspose. All Rights Reserved.