ResourceDescriptionEntry
Namespace: Casasoft.IF.GBlorbLib
Represents a resource description entry in the GBlorb library.
public class ResourceDescriptionEntry
Inheritance Object → ResourceDescriptionEntry
Attributes NullableContextAttribute, NullableAttribute
Fields
Type
Gets or sets the type of the resource.
public string Type;
Number
Gets or sets the number of the resource.
public int Number;
Length
Gets or sets the length of the resource description.
public int Length;
Description
Gets or sets the description of the resource.
public string Description;
Constructors
ResourceDescriptionEntry()
Initializes a new instance of the ResourceDescriptionEntry class with default values.
public ResourceDescriptionEntry()
ResourceDescriptionEntry(String)
Initializes a new instance of the ResourceDescriptionEntry class with the specified type.
public ResourceDescriptionEntry(string type)
Parameters
type
String
The type of the resource.
ResourceDescriptionEntry(Byte[], Int32)
Initializes a new instance of the ResourceDescriptionEntry class with the specified data and offset.
public ResourceDescriptionEntry(Byte[] data, int offset)
Parameters
data
Byte[]
The byte array containing the resource data.
offset
Int32
The offset within the byte array where the resource data starts.
Methods
ToString()
Returns a string that represents the current object.
public string ToString()
Returns
String
A string that represents the current object.
Write(Byte[], Int32)
Writes the resource description entry to the specified byte array at the given offset.
public void Write(Byte[] data, int offset)
Parameters
data
Byte[]
The byte array to write to.
offset
Int32
The offset within the byte array where the resource data should be written.