BlobBuilder BlobBuilder BlobBuilder BlobBuilder Class

Definition

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

Constructors

BlobBuilder(Int32) BlobBuilder(Int32) BlobBuilder(Int32) BlobBuilder(Int32)

Properties

ChunkCapacity ChunkCapacity ChunkCapacity ChunkCapacity
Count Count Count Count
FreeBytes FreeBytes FreeBytes FreeBytes

Methods

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

Compares the current content of this writer with another one.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

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

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

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

Creates a shallow copy of the current Object.

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

Reserves a contiguous block of bytes.

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

Returns a string that represents the current object.

(Inherited from Object)
TryWriteBytes(Stream, Int32) TryWriteBytes(Stream, Int32) TryWriteBytes(Stream, Int32) 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) WriteBoolean(Boolean) WriteBoolean(Boolean) WriteBoolean(Boolean)

Writes a Boolean value to the builder.

WriteByte(Byte) WriteByte(Byte) WriteByte(Byte) WriteByte(Byte)

Writes a Byte value to the builder.

WriteBytes(Byte*, Int32) WriteBytes(Byte*, Int32) WriteBytes(Byte*, Int32) WriteBytes(Byte*, Int32)

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

WriteBytes(Byte, Int32) WriteBytes(Byte, Int32) WriteBytes(Byte, Int32) WriteBytes(Byte, Int32)

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

WriteBytes(Byte[]) WriteBytes(Byte[]) WriteBytes(Byte[]) WriteBytes(Byte[])

Writes the contents of a byte array to the builder.

WriteBytes(Byte[], Int32, Int32) WriteBytes(Byte[], Int32, Int32) WriteBytes(Byte[], Int32, Int32) WriteBytes(Byte[], Int32, Int32)

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

WriteBytes(ImmutableArray<Byte>) WriteBytes(ImmutableArray<Byte>) WriteBytes(ImmutableArray<Byte>) WriteBytes(ImmutableArray<Byte>)

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

WriteBytes(ImmutableArray<Byte>, Int32, Int32) WriteBytes(ImmutableArray<Byte>, Int32, Int32) WriteBytes(ImmutableArray<Byte>, Int32, Int32) WriteBytes(ImmutableArray<Byte>, Int32, Int32)

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

WriteCompressedInteger(Int32) WriteCompressedInteger(Int32) WriteCompressedInteger(Int32) WriteCompressedInteger(Int32)

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

WriteCompressedSignedInteger(Int32) WriteCompressedSignedInteger(Int32) WriteCompressedSignedInteger(Int32) WriteCompressedSignedInteger(Int32)

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

WriteConstant(Object) WriteConstant(Object) WriteConstant(Object) WriteConstant(Object)

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

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

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

WriteSByte(SByte) WriteSByte(SByte) WriteSByte(SByte) WriteSByte(SByte)
WriteSerializedString(String) WriteSerializedString(String) WriteSerializedString(String) WriteSerializedString(String)

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

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

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

WriteUTF16(Char[]) WriteUTF16(Char[]) WriteUTF16(Char[]) WriteUTF16(Char[])

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

WriteUTF16(String) WriteUTF16(String) WriteUTF16(String) WriteUTF16(String)

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

WriteUTF8(String, Boolean) WriteUTF8(String, Boolean) WriteUTF8(String, Boolean) WriteUTF8(String, Boolean)

Writes a UTF8 encoded string at the current position.

Applies to