IOFileComponent.SetByte Method
Overloads
| Name | Description |
|---|---|
SetByte(Int32, Byte) | Sets the byte at the specified index. |
SetByte<TEnum>(Int32, TEnum) | Sets the byte at the specified index from an enum value. |
SetByte(Int32, Byte)
Sets the byte at the specified index.
c#
protected void SetByte(int index, Byte value);Parameters
| Name | Type | Description |
|---|---|---|
index | Int32 | The index of the byte. |
value | Byte | The value to set. |
SetByte<TEnum>(Int32, TEnum)
Sets the byte at the specified index from an enum value.
c#
protected void SetByte<TEnum>(int index, TEnum value)
where TEnum : struct, Enum;Type Parameters
| Name | Description |
|---|---|
TEnum | The enum type. |
Parameters
| Name | Type | Description |
|---|---|---|
index | Int32 | The index of the byte. |
value | TEnum | The enum value to set. |