public class ObjectSpaceObjectStreamHeader extends Object implements IBinarySerializable, com.aspose.ms.System.IEquatable<ObjectSpaceObjectStreamHeader>
Gets the number of objects in a stream and whether there are more streams following the stream that contains this ObjectSpaceObjectStreamHeader structure.
Constructor and Description |
---|
ObjectSpaceObjectStreamHeader(long count,
long reserved,
boolean extendedStreamsPresent,
boolean osidStreamNotPresent)
Initializes a new instance of the
ObjectSpaceObjectStreamHeader class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ObjectSpaceObjectStreamHeader other)
The equals.
|
long |
getCount()
Gets the number of CompactID structures in the stream that contains this
ObjectSpaceObjectStreamHeader structure.
|
boolean |
getExtendedStreamsPresent()
Gets a value indicating whether the ObjectSpaceObjectPropSet structure contains any additional streams of
data following this stream of data.
|
boolean |
getOsidStreamNotPresent()
Gets a value indicating whether the ObjectSpaceObjectPropSet structure does not
contain OSIDs or ContextIDs fields.
|
long |
getReserved()
Gets a reserved value.
|
long |
getStructSize()
Gets the struct size.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public ObjectSpaceObjectStreamHeader(long count, long reserved, boolean extendedStreamsPresent, boolean osidStreamNotPresent)
Initializes a new instance of the ObjectSpaceObjectStreamHeader
class.
public long getCount()
Gets the number of CompactID structures in the stream that contains this ObjectSpaceObjectStreamHeader structure.
public long getReserved()
Gets a reserved value. MUST be zero, and MUST be ignored.
public boolean getExtendedStreamsPresent()
Gets a value indicating whether the ObjectSpaceObjectPropSet structure contains any additional streams of data following this stream of data.
public boolean getOsidStreamNotPresent()
Gets a value indicating whether the ObjectSpaceObjectPropSet structure does not contain OSIDs or ContextIDs fields.
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(ObjectSpaceObjectStreamHeader other)
The equals.
other
- The other.bool
.Copyright (c) 2016 Aspose. All Rights Reserved.