IOFileComponent.GetByte Method
Overloads
| Name | Description |
|---|---|
GetByte(Int32) | Gets the byte at the specified index. |
GetByte<TEnum>(Int32) | Gets the byte at the specified index as an enum value. |
GetByte(Int32)
Gets the byte at the specified index.
c#
protected Byte GetByte(int index);Parameters
| Name | Type | Description |
|---|---|---|
index | Int32 | The index of the byte. |
Returns
The byte value.
GetByte<TEnum>(Int32)
Gets the byte at the specified index as an enum value.
c#
protected TEnum GetByte<TEnum>(int index)
where TEnum : struct, Enum;Type Parameters
| Name | Description |
|---|---|
TEnum | The enum type. |
Parameters
| Name | Type | Description |
|---|---|---|
index | Int32 | The index of the byte. |
Returns
TEnum
The enum value.