ByteIListExtensions Class
Definition
Extension methods for reading and writing primitive values from lists of bytes.
public static class ByteIListExtensions
Methods
| Name | Description |
|---|---|
| GetInt16(IList<Byte>, Int32) | Reads a little-endian Int16 from a list of bytes at the specified index. |
| GetInt16(IList<Byte>, Int32, Endian) | Reads a Int16 from a list of bytes at the specified index using the specified endianness. |
| GetInt32(IList<Byte>, Int32) | Reads a little-endian Int32 from a list of bytes at the specified index. |
| GetInt32(IList<Byte>, Int32, Endian) | Reads an Int32 from a list of bytes at the specified index using the specified endianness. |
| GetInt64(IList<Byte>, Int32) | Reads a little-endian Int64 from a list of bytes at the specified index. |
| GetInt64(IList<Byte>, Int32, Endian) | Reads a Int64 from a list of bytes at the specified index using the specified endianness. |
| GetUInt16(IList<Byte>, Int32) | Reads a little-endian UInt16 from a list of bytes at the specified index. |
| GetUInt16(IList<Byte>, Int32, Endian) | Reads a UInt16 from a list of bytes at the specified index using the specified endianness. |
| GetUInt24(IList<Byte>, Int32) | Reads a little-endian UInt24 from a list of bytes at the specified index. |
| GetUInt24(IList<Byte>, Int32, Endian) | Reads a UInt24 from a list of bytes at the specified index using the specified endianness. |
| GetUInt32(IList<Byte>, Int32) | Reads a little-endian UInt32 from a list of bytes at the specified index. |
| GetUInt32(IList<Byte>, Int32, Endian) | Reads a UInt32 from a list of bytes at the specified index using the specified endianness. |
| GetUInt64(IList<Byte>, Int32) | Reads a little-endian UInt64 from a list of bytes at the specified index. |
| GetUInt64(IList<Byte>, Int32, Endian) | Reads a UInt64 from a list of bytes at the specified index using the specified endianness. |
| SetInt16(IList<Byte>, Int32, Int16) | Writes a little-endian Int16 to a list of bytes at the specified index. |
| SetInt16(IList<Byte>, Int32, Int16, Endian) | Writes a Int16 to a list of bytes at the specified index using the specified endianness. |
| SetInt32(IList<Byte>, Int32, Int32) | Writes a little-endian Int32 to a list of bytes at the specified index. |
| SetInt32(IList<Byte>, Int32, Int32, Endian) | Writes an Int32 to a list of bytes at the specified index using the specified endianness. |
| SetInt64(IList<Byte>, Int32, Int64) | Writes a little-endian Int64 to a list of bytes at the specified index. |
| SetInt64(IList<Byte>, Int32, Int64, Endian) | Writes a Int64 to a list of bytes at the specified index using the specified endianness. |
| SetUInt16(IList<Byte>, Int32, UInt16) | Writes a little-endian UInt16 to a list of bytes at the specified index. |
| SetUInt16(IList<Byte>, Int32, UInt16, Endian) | Writes a UInt16 to a list of bytes at the specified index using the specified endianness. |
| SetUInt24(IList<Byte>, Int32, UInt24) | Writes a little-endian UInt24 to a list of bytes at the specified index. |
| SetUInt24(IList<Byte>, Int32, UInt24, Endian) | Writes a UInt24 to a list of bytes at the specified index using the specified endianness. |
| SetUInt32(IList<Byte>, Int32, UInt32) | Writes a little-endian UInt32 to a list of bytes at the specified index. |
| SetUInt32(IList<Byte>, Int32, UInt32, Endian) | Writes a UInt32 to a list of bytes at the specified index using the specified endianness. |
| SetUInt64(IList<Byte>, Int32, UInt64) | Writes a little-endian UInt64 to a list of bytes at the specified index. |
| SetUInt64(IList<Byte>, Int32, UInt64, Endian) | Writes a UInt64 to a list of bytes at the specified index using the specified endianness. |