Skip to content

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.

protected Byte GetByte(int index);

View source

Parameters

Name Type Description
index Int32 The index of the byte.

Returns

Byte

The byte value.

GetByte<TEnum>(Int32)

Gets the byte at the specified index as an enum value.

protected TEnum GetByte<TEnum>(int index)
   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.

Returns

TEnum

The enum value.