Skip to content

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.

protected void SetByte(int index, Byte value);

View source

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.

protected void SetByte<TEnum>(int index, TEnum value)
   where TEnum : struct, Enum;

View source

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.