public final class RawDataStructure extends OSTypeStructure
The raw data structure.
Modifier and Type | Field and Description |
---|---|
static int |
STRUCTURE_KEY
Identifies the structure key.
|
Constructor and Description |
---|
RawDataStructure(ClassID keyName)
Initializes a new instance of the
RawDataStructure class. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Gets or sets the data.
|
int |
getKey()
Gets the key.
|
int |
getLength()
Gets the
OSTypeStructure length in bytes. |
void |
setData(byte[] value) |
getHeaderLength, getKeyName, save, saveWithoutKeyName, setKeyName
public static final int STRUCTURE_KEY
Identifies the structure key.
public RawDataStructure(ClassID keyName)
Initializes a new instance of the RawDataStructure
class.
keyName
- The key name.public int getKey()
Gets the key.
getKey
in class OSTypeStructure
public byte[] getData()
Gets or sets the data.
Value: The data.public void setData(byte[] value)
public int getLength()
Gets the OSTypeStructure
length in bytes.
getLength
in class OSTypeStructure