BlobReader BlobReader BlobReader BlobReader Struct

Definition

public value class BlobReader
public struct BlobReader
type BlobReader = struct
Public Structure BlobReader
Inheritance
BlobReaderBlobReaderBlobReaderBlobReader

Constructors

BlobReader(Byte*, Int32) BlobReader(Byte*, Int32) BlobReader(Byte*, Int32) BlobReader(Byte*, Int32)

Creates a reader of the specified memory block.

Properties

CurrentPointer CurrentPointer CurrentPointer CurrentPointer

Gets a pointer to the byte at the current position of the reader.

Length Length Length Length

Gets the total length of the underlying memory block.

Offset Offset Offset Offset

Gets or sets the offset from the start of the blob to the current position.

RemainingBytes RemainingBytes RemainingBytes RemainingBytes

Gets the number of bytes remaining from current position to the end of the underlying memory block.

StartPointer StartPointer StartPointer StartPointer

Gets a pointer to the byte at the start of the underlying memory block.

Methods

Align(Byte) Align(Byte) Align(Byte) Align(Byte)

Repositions the reader forward by the number of bytes required to satisfy the given alignment.

IndexOf(Byte) IndexOf(Byte) IndexOf(Byte) IndexOf(Byte)

Searches for a specified byte in the blob following the current position.

ReadBlobHandle() ReadBlobHandle() ReadBlobHandle() ReadBlobHandle()

Reads a Blob heap handle encoded as a compressed integer.

ReadBoolean() ReadBoolean() ReadBoolean() ReadBoolean()
ReadByte() ReadByte() ReadByte() ReadByte()
ReadBytes(Int32, Byte[], Int32) ReadBytes(Int32, Byte[], Int32) ReadBytes(Int32, Byte[], Int32) ReadBytes(Int32, Byte[], Int32)

Reads bytes starting at the current position and writes them to the specified buffer starting at the specified offset.

ReadBytes(Int32) ReadBytes(Int32) ReadBytes(Int32) ReadBytes(Int32)

Reads bytes starting at the current position.

ReadChar() ReadChar() ReadChar() ReadChar()
ReadCompressedInteger() ReadCompressedInteger() ReadCompressedInteger() ReadCompressedInteger()

Reads an unsigned compressed integer value. See Metadata Specification section II.23.2: Blobs and signatures.

ReadCompressedSignedInteger() ReadCompressedSignedInteger() ReadCompressedSignedInteger() ReadCompressedSignedInteger()

Reads a signed compressed integer value. See Metadata Specification section II.23.2: Blobs and signatures.

ReadConstant(ConstantTypeCode) ReadConstant(ConstantTypeCode) ReadConstant(ConstantTypeCode) ReadConstant(ConstantTypeCode)

Reads a constant value (see ECMA-335 Partition II section 22.9) from the current position.

ReadDateTime() ReadDateTime() ReadDateTime() ReadDateTime()
ReadDecimal() ReadDecimal() ReadDecimal() ReadDecimal()

Reads a Decimal number.

ReadDouble() ReadDouble() ReadDouble() ReadDouble()
ReadGuid() ReadGuid() ReadGuid() ReadGuid()
ReadInt16() ReadInt16() ReadInt16() ReadInt16()
ReadInt32() ReadInt32() ReadInt32() ReadInt32()
ReadInt64() ReadInt64() ReadInt64() ReadInt64()
ReadSByte() ReadSByte() ReadSByte() ReadSByte()
ReadSerializationTypeCode() ReadSerializationTypeCode() ReadSerializationTypeCode() ReadSerializationTypeCode()

Reads a type code encoded in a serialized custom attribute value.

ReadSerializedString() ReadSerializedString() ReadSerializedString() ReadSerializedString()

Reads a string encoded as a compressed integer containing its length followed by its contents in UTF8. Null strings are encoded as a single 0xFF byte.

ReadSignatureHeader() ReadSignatureHeader() ReadSignatureHeader() ReadSignatureHeader()
ReadSignatureTypeCode() ReadSignatureTypeCode() ReadSignatureTypeCode() ReadSignatureTypeCode()

Reads a type code encoded in a signature.

ReadSingle() ReadSingle() ReadSingle() ReadSingle()
ReadTypeHandle() ReadTypeHandle() ReadTypeHandle() ReadTypeHandle()

Reads a type handle encoded in a signature as TypeDefOrRefOrSpecEncoded (see ECMA-335 II.23.2.8).

ReadUInt16() ReadUInt16() ReadUInt16() ReadUInt16()
ReadUInt32() ReadUInt32() ReadUInt32() ReadUInt32()
ReadUInt64() ReadUInt64() ReadUInt64() ReadUInt64()
ReadUTF16(Int32) ReadUTF16(Int32) ReadUTF16(Int32) ReadUTF16(Int32)

Reads a UTF16 (little-endian) encoded string starting at the current position.

ReadUTF8(Int32) ReadUTF8(Int32) ReadUTF8(Int32) ReadUTF8(Int32)

Reads a UTF8 encoded string starting at the current position.

Reset() Reset() Reset() Reset()

Repositions the reader to the start of the underlying memory block.

SeekOffset(Int32) SeekOffset(Int32) SeekOffset(Int32) SeekOffset(Int32)
SkipBytes(Int32) SkipBytes(Int32) SkipBytes(Int32) SkipBytes(Int32)
TryReadCompressedInteger(Int32) TryReadCompressedInteger(Int32) TryReadCompressedInteger(Int32) TryReadCompressedInteger(Int32)

Reads an unsigned compressed integer value. See Metadata Specification section II.23.2: Blobs and signatures.

TryReadCompressedSignedInteger(Int32) TryReadCompressedSignedInteger(Int32) TryReadCompressedSignedInteger(Int32) TryReadCompressedSignedInteger(Int32)

Reads a signed compressed integer value. See Metadata Specification section II.23.2: Blobs and signatures.

Applies to