BlobWriter Struct

Definition

public struct BlobWriter
Inheritance
BlobWriter

Constructors

Properties

Methods

Align(Int32)
Clear()
ContentEquals(BlobWriter)

Compares the current content of this writer with another one.

PadTo(Int32)
ToArray()
ToArray(Int32, Int32)
ToImmutableArray()
ToImmutableArray(Int32, Int32)
WriteBoolean(Boolean)
WriteByte(Byte)
WriteBytes(BlobBuilder)
WriteBytes(Byte, Int32)
WriteBytes(Byte[], Int32, Int32)
WriteBytes(Byte[])
WriteBytes(Byte*, Int32)
WriteBytes(ImmutableArray<Byte>, Int32, Int32)
WriteBytes(ImmutableArray<Byte>)
WriteBytes(Stream, Int32)
WriteCompressedInteger(Int32)

Implements compressed unsigned integer encoding as defined by ECMA-335-II chapter 23.2: Blobs and signatures.

WriteCompressedSignedInteger(Int32)

Implements compressed signed integer encoding as defined by ECMA-335-II chapter 23.2: Blobs and signatures.

WriteConstant(Object)

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

WriteDateTime(DateTime)
WriteDecimal(Decimal)
WriteDouble(Double)
WriteGuid(Guid)
WriteInt16(Int16)
WriteInt16BE(Int16)
WriteInt32(Int32)
WriteInt32BE(Int32)
WriteInt64(Int64)
WriteReference(Int32, Boolean)

Writes a reference to a heap (heap offset) or a table (row number).

WriteSByte(SByte)
WriteSerializedString(String)

Writes a string in SerString format (see ECMA-335-II 23.3 Custom attributes).

WriteSingle(Single)
WriteUInt16(UInt16)
WriteUInt16BE(UInt16)
WriteUInt32(UInt32)
WriteUInt32BE(UInt32)
WriteUInt64(UInt64)
WriteUserString(String)

Writes a string in User String (#US) heap format (see ECMA-335-II 24.2.4 #US and #Blob heaps).

WriteUTF16(Char[])

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

WriteUTF16(String)

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

WriteUTF8(String, Boolean)

Writes a UTF8 encoded string at the current position.

Applies to

Product Versions
.NET Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)