Skip to content

ByteListExtensions Class

Definition

Extension methods for reading primitive values from List<T> of Byte.

public static class ByteListExtensions

View source

Methods

Name Description
GetInt16(List<Byte>, Int32) Reads a little-endian Int16 from a List<T> of bytes at the specified index.
GetInt16(List<Byte>, Int32, Endian) Reads a Int16 from a List<T> of bytes at the specified index using the specified endianness.
GetInt32(List<Byte>, Int32) Reads a little-endian Int32 from a List<T> of bytes at the specified index.
GetInt32(List<Byte>, Int32, Endian) Reads an Int32 from a List<T> of bytes at the specified index using the specified endianness.
GetInt64(List<Byte>, Int32) Reads a little-endian Int64 from a List<T> of bytes at the specified index.
GetInt64(List<Byte>, Int32, Endian) Reads a Int64 from a List<T> of bytes at the specified index using the specified endianness.
GetUInt16(List<Byte>, Int32) Reads a little-endian UInt16 from a List<T> of bytes at the specified index.
GetUInt16(List<Byte>, Int32, Endian) Reads a UInt16 from a List<T> of bytes at the specified index using the specified endianness.
GetUInt24(List<Byte>, Int32) Reads a little-endian UInt24 from a List<T> of bytes at the specified index.
GetUInt24(List<Byte>, Int32, Endian) Reads a UInt24 from a List<T> of bytes at the specified index using the specified endianness.
GetUInt32(List<Byte>, Int32) Reads a little-endian UInt32 from a List<T> of bytes at the specified index.
GetUInt32(List<Byte>, Int32, Endian) Reads a UInt32 from a List<T> of bytes at the specified index using the specified endianness.
GetUInt64(List<Byte>, Int32) Reads a little-endian UInt64 from a List<T> of bytes at the specified index.
GetUInt64(List<Byte>, Int32, Endian) Reads a UInt64 from a List<T> of bytes at the specified index using the specified endianness.
SetInt16(List<Byte>, Int32, Int16) Writes a little-endian Int16 to a List<T> of bytes at the specified index.
SetInt16(List<Byte>, Int32, Int16, Endian) Writes a Int16 to a List<T> of bytes at the specified index using the specified endianness.
SetInt32(List<Byte>, Int32, Int32) Writes a little-endian Int32 to a List<T> of bytes at the specified index.
SetInt32(List<Byte>, Int32, Int32, Endian) Writes an Int32 to a List<T> of bytes at the specified index using the specified endianness.
SetInt64(List<Byte>, Int32, Int64) Writes a little-endian Int64 to a List<T> of bytes at the specified index.
SetInt64(List<Byte>, Int32, Int64, Endian) Writes a Int64 to a List<T> of bytes at the specified index using the specified endianness.
SetUInt16(List<Byte>, Int32, UInt16) Writes a little-endian UInt16 to a List<T> of bytes at the specified index.
SetUInt16(List<Byte>, Int32, UInt16, Endian) Writes a UInt16 to a List<T> of bytes at the specified index using the specified endianness.
SetUInt24(List<Byte>, Int32, UInt24) Writes a little-endian UInt24 to a List<T> of bytes at the specified index.
SetUInt24(List<Byte>, Int32, UInt24, Endian) Writes a UInt24 to a List<T> of bytes at the specified index using the specified endianness.
SetUInt32(List<Byte>, Int32, UInt32) Writes a little-endian UInt32 to a List<T> of bytes at the specified index.
SetUInt32(List<Byte>, Int32, UInt32, Endian) Writes a UInt32 to a List<T> of bytes at the specified index using the specified endianness.
SetUInt64(List<Byte>, Int32, UInt64) Writes a little-endian UInt64 to a List<T> of bytes at the specified index.
SetUInt64(List<Byte>, Int32, UInt64, Endian) Writes a UInt64 to a List<T> of bytes at the specified index using the specified endianness.