BlobReader Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public value class BlobReader
public struct BlobReader
type BlobReader = struct
Public Structure BlobReader
- Inheritance
Constructors
BlobReader(Byte*, Int32) |
Creates a reader of the specified memory block. |
Properties
CurrentPointer |
Gets a pointer to the byte at the current position of the reader. |
Length |
Gets the total length of the underlying memory block. |
Offset |
Gets or sets the offset from the start of the blob to the current position. |
RemainingBytes |
Gets the number of bytes remaining from current position to the end of the underlying memory block. |
StartPointer |
Gets a pointer to the byte at the start of the underlying memory block. |
Methods
Align(Byte) |
Repositions the reader forward by the number of bytes required to satisfy the given alignment. |
IndexOf(Byte) |
Searches for a specified byte in the blob following the current position. |
ReadBlobHandle() |
Reads a Blob heap handle encoded as a compressed integer. |
ReadBoolean() | |
ReadByte() | |
ReadBytes(Int32) |
Reads bytes starting at the current position. |
ReadBytes(Int32, Byte[], Int32) |
Reads bytes starting at the current position and writes them to the specified buffer starting at the specified offset. |
ReadChar() | |
ReadCompressedInteger() |
Reads an unsigned compressed integer value. See Metadata Specification section II.23.2: Blobs and signatures. |
ReadCompressedSignedInteger() |
Reads a signed compressed integer value. See Metadata Specification section II.23.2: Blobs and signatures. |
ReadConstant(ConstantTypeCode) |
Reads a constant value (see ECMA-335 Partition II section 22.9) from the current position. |
ReadDateTime() | |
ReadDecimal() |
Reads a Decimal number. |
ReadDouble() | |
ReadGuid() | |
ReadInt16() | |
ReadInt32() | |
ReadInt64() | |
ReadSByte() | |
ReadSerializationTypeCode() |
Reads a type code encoded in a serialized custom attribute value. |
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() | |
ReadSignatureTypeCode() |
Reads a type code encoded in a signature. |
ReadSingle() | |
ReadTypeHandle() |
Reads a type handle encoded in a signature as TypeDefOrRefOrSpecEncoded (see ECMA-335 II.23.2.8). |
ReadUInt16() | |
ReadUInt32() | |
ReadUInt64() | |
ReadUTF16(Int32) |
Reads a UTF16 (little-endian) encoded string starting at the current position. |
ReadUTF8(Int32) |
Reads a UTF8 encoded string starting at the current position. |
Reset() |
Repositions the reader to the start of the underlying memory block. |
SeekOffset(Int32) | |
SkipBytes(Int32) | |
TryReadCompressedInteger(Int32) |
Reads an unsigned compressed integer value. See Metadata Specification section II.23.2: Blobs and signatures. |
TryReadCompressedSignedInteger(Int32) |
Reads a signed compressed integer value. See Metadata Specification section II.23.2: Blobs and signatures. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기