Package ch.astorm.jotlmsg.io
Class FlatEntryStructure
java.lang.Object
ch.astorm.jotlmsg.io.FlatEntryStructure
- Direct Known Subclasses:
OneOffEntryIDStructure
Represents an [MS-OXCDATA] 2.3.2 FlatEntry Structure in Java.
- Author:
- Guido Stein
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorConstructor for byte parsing. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the EntryID bytes.longgetSize()Returns the number of bytes of following EntryID field.voidsetEntryID(byte[] entryID) Sets the EntryID bytes.
-
Constructor Details
-
FlatEntryStructure
public FlatEntryStructure()Default constructor -
FlatEntryStructure
Constructor for byte parsing.- Parameters:
bf-ByteBuffersource for parsing.
-
-
Method Details
-
getSize
public long getSize()Returns the number of bytes of following EntryID field.- Returns:
- Number of bytes.
-
getEntryID
public byte[] getEntryID()Returns the EntryID bytes.- Returns:
- Byte array representation of EntryID.
-
setEntryID
public void setEntryID(byte[] entryID) Sets the EntryID bytes.- Parameters:
entryID- Byte array data to set.
-