public abstract class OSTypeStructure extends Object
Represents the OS type structure.
Constructor and Description |
---|
OSTypeStructure(ClassID keyName)
Initializes a new instance of the
OSTypeStructure class. |
Modifier and Type | Method and Description |
---|---|
int |
getHeaderLength()
Gets the header length.
|
abstract int |
getKey()
Gets the structure key.
|
ClassID |
getKeyName()
Gets or sets the key name.
|
abstract int |
getLength()
Gets the
OSTypeStructure length in bytes. |
void |
save(StreamContainer streamContainer)
Saves the structure to the specified stream container.
|
void |
saveWithoutKeyName(StreamContainer streamContainer)
Saves the structure to the specified stream container.
|
void |
setKeyName(ClassID value) |
public OSTypeStructure(ClassID keyName)
Initializes a new instance of the OSTypeStructure
class.
keyName
- The key name.public abstract int getKey()
Gets the structure key.
public ClassID getKeyName()
Gets or sets the key name.
Value: The key name.public void setKeyName(ClassID value)
public abstract int getLength()
Gets the OSTypeStructure
length in bytes.
public void save(StreamContainer streamContainer)
Saves the structure to the specified stream container.
streamContainer
- The stream container.public final void saveWithoutKeyName(StreamContainer streamContainer)
Saves the structure to the specified stream container.
streamContainer
- The stream container.public int getHeaderLength()
Gets the header length.