Redigeeri

Jagamisviis:


BlobBuilder Class

Definition

public ref class BlobBuilder
public class BlobBuilder
type BlobBuilder = class
Public Class BlobBuilder
Inheritance
BlobBuilder

Constructors

BlobBuilder(Int32)

Properties

ChunkCapacity
Count
FreeBytes

Methods

Align(Int32)
AllocateChunk(Int32)
Clear()
ContentEquals(BlobBuilder)

Compares the current content of this writer with another one.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Free()
FreeChunk()
GetBlobs()

Returns a sequence of all blobs that represent the content of the builder.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LinkPrefix(BlobBuilder)
LinkSuffix(BlobBuilder)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PadTo(Int32)
ReserveBytes(Int32)

Reserves a contiguous block of bytes.

ToArray()
ToArray(Int32, Int32)
ToImmutableArray()
ToImmutableArray(Int32, Int32)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryWriteBytes(Stream, Int32)

Attempts to write a sequence of bytes to the builder. A return value indicates the number of bytes successfully written.

WriteBoolean(Boolean)

Writes a Boolean value to the builder.

WriteByte(Byte)

Writes a Byte value to the builder.

WriteBytes(Byte, Int32)

Writes a specified number of occurrences of a byte value to the builder.

WriteBytes(Byte[], Int32, Int32)

Writes a specified number of bytes starting at a specified index in a byte array to the builder.

WriteBytes(Byte[])

Writes the contents of a byte array to the builder.

WriteBytes(Byte*, Int32)

Writes a specified number of bytes from a buffer to the builder.

WriteBytes(ImmutableArray<Byte>, Int32, Int32)

Writes a specified number of bytes starting at a specified index of an immutable array to the builder.

WriteBytes(ImmutableArray<Byte>)

Writes the contents of an immutable byte array to the builder.

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.

WriteContentTo(BlobBuilder)
WriteContentTo(BlobWriter)
WriteContentTo(Stream)
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 character array at the current position.

WriteUTF16(String)

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

WriteUTF8(String, Boolean)

Writes a UTF8 encoded string at the current position.

Applies to