Skip to content

ByteIReadOnlyListExtensions Class ​

Definition ​

Extension methods for IReadOnlyList<T> of Byte.

c#
public static class ByteIReadOnlyListExtensions

View source

Methods ​

NameDescription
CopyTo(IReadOnlyList<Byte>, Span<Byte>, Int32)Copies the contents of a read-only list to a span, starting at the specified offset in the destination.
CopyTo(IReadOnlyList<Byte>, Span<Byte>)Copies the contents of a read-only list to a span.
GetInt16(IReadOnlyList<Byte>, Int32)Reads a little-endian Int16 from a read-only list of bytes at the specified index.
GetInt16(IReadOnlyList<Byte>, Int32, Endian)Reads a Int16 from a read-only list of bytes at the specified index using the specified endianness.
GetInt32(IReadOnlyList<Byte>, Int32)Reads a little-endian Int32 from a read-only list of bytes at the specified index.
GetInt32(IReadOnlyList<Byte>, Int32, Endian)Reads an Int32 from a read-only list of bytes at the specified index using the specified endianness.
GetInt64(IReadOnlyList<Byte>, Int32)Reads a little-endian Int64 from a read-only list of bytes at the specified index.
GetInt64(IReadOnlyList<Byte>, Int32, Endian)Reads a Int64 from a read-only list of bytes at the specified index using the specified endianness.
GetUInt16(IReadOnlyList<Byte>, Int32)Reads a little-endian UInt16 from a read-only list of bytes at the specified index.
GetUInt16(IReadOnlyList<Byte>, Int32, Endian)Reads a UInt16 from a read-only list of bytes at the specified index using the specified endianness.
GetUInt24(IReadOnlyList<Byte>, Int32)Reads a little-endian UInt24 from a read-only list of bytes at the specified index.
GetUInt24(IReadOnlyList<Byte>, Int32, Endian)Reads a UInt24 from a read-only list of bytes at the specified index using the specified endianness.
GetUInt32(IReadOnlyList<Byte>, Int32)Reads a little-endian UInt32 from a read-only list of bytes at the specified index.
GetUInt32(IReadOnlyList<Byte>, Int32, Endian)Reads a UInt32 from a read-only list of bytes at the specified index using the specified endianness.
GetUInt64(IReadOnlyList<Byte>, Int32)Reads a little-endian UInt64 from a read-only list of bytes at the specified index.
GetUInt64(IReadOnlyList<Byte>, Int32, Endian)Reads a UInt64 from a read-only list of bytes at the specified index using the specified endianness.