Skip to content

IOFileComponent.SetByte Method ​

Overloads ​

NameDescription
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);

View source

Parameters ​

NameTypeDescription
indexInt32The index of the byte.
valueByteThe 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;

View source

Type Parameters ​

NameDescription
TEnumThe enum type.

Parameters ​

NameTypeDescription
indexInt32The index of the byte.
valueTEnumThe enum value to set.