BlobWriter BlobWriter BlobWriter BlobWriter Struct

定義

public value class BlobWriter
public struct BlobWriter
type BlobWriter = struct
Public Structure BlobWriter
繼承
BlobWriterBlobWriterBlobWriterBlobWriter

建構函式

BlobWriter(Byte[]) BlobWriter(Byte[]) BlobWriter(Byte[]) BlobWriter(Byte[])
BlobWriter(Int32) BlobWriter(Int32) BlobWriter(Int32) BlobWriter(Int32)
BlobWriter(Blob) BlobWriter(Blob) BlobWriter(Blob) BlobWriter(Blob)
BlobWriter(Byte[], Int32, Int32) BlobWriter(Byte[], Int32, Int32) BlobWriter(Byte[], Int32, Int32) BlobWriter(Byte[], Int32, Int32)

屬性

Blob Blob Blob Blob
Length Length Length Length
Offset Offset Offset Offset
RemainingBytes RemainingBytes RemainingBytes RemainingBytes

方法

Align(Int32) Align(Int32) Align(Int32) Align(Int32)
Clear() Clear() Clear() Clear()
ContentEquals(BlobWriter) ContentEquals(BlobWriter) ContentEquals(BlobWriter) ContentEquals(BlobWriter)

將此寫入器的目前內容與另一個比較。Compares the current content of this writer with another one.

PadTo(Int32) PadTo(Int32) PadTo(Int32) PadTo(Int32)
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)
WriteBoolean(Boolean) WriteBoolean(Boolean) WriteBoolean(Boolean) WriteBoolean(Boolean)
WriteByte(Byte) WriteByte(Byte) WriteByte(Byte) WriteByte(Byte)
WriteBytes(Byte[], Int32, Int32) WriteBytes(Byte[], Int32, Int32) WriteBytes(Byte[], Int32, Int32) WriteBytes(Byte[], Int32, Int32)
WriteBytes(Stream, Int32) WriteBytes(Stream, Int32) WriteBytes(Stream, Int32) WriteBytes(Stream, Int32)
WriteBytes(Byte*, Int32) WriteBytes(Byte*, Int32) WriteBytes(Byte*, Int32) WriteBytes(Byte*, Int32)
WriteBytes(ImmutableArray<Byte>, Int32, Int32) WriteBytes(ImmutableArray<Byte>, Int32, Int32) WriteBytes(ImmutableArray<Byte>, Int32, Int32) WriteBytes(ImmutableArray<Byte>, Int32, Int32)
WriteBytes(BlobBuilder) WriteBytes(BlobBuilder) WriteBytes(BlobBuilder) WriteBytes(BlobBuilder)
WriteBytes(ImmutableArray<Byte>) WriteBytes(ImmutableArray<Byte>) WriteBytes(ImmutableArray<Byte>) WriteBytes(ImmutableArray<Byte>)
WriteBytes(Byte[]) WriteBytes(Byte[]) WriteBytes(Byte[]) WriteBytes(Byte[])
WriteBytes(Byte, Int32) WriteBytes(Byte, Int32) WriteBytes(Byte, Int32) WriteBytes(Byte, Int32)
WriteCompressedInteger(Int32) WriteCompressedInteger(Int32) WriteCompressedInteger(Int32) WriteCompressedInteger(Int32)

依 ECMA-335-II 章節 23.2 的定義,實作已壓縮不帶正負號的整數編碼:Blob 和簽章。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)

依 ECMA-335-II 章節 23.2 的定義,實作已壓縮帶正負號的整數編碼:Blob 和簽章。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)

在目前位置寫入常數值 (請參閱 ECMA-335 第二篇章節 22.9)。Writes a constant value (see ECMA-335 Partition II section 22.9) at the current position.

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)

以 SerString 格式 (請參閱 ECMA-335-II 23.3 自訂屬性) 寫入字串。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)

以使用者字串 (#US) 堆積格式 (請參閱 ECMA-335-II 24.2.4 #US 和 #Blob 堆積)。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[])

在目前位置寫入 UTF16 (字元組由小到大) 編碼的字串。Writes a UTF16 (little-endian) encoded string at the current position.

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

在目前位置寫入 UTF16 (字元組由小到大) 編碼的字串。Writes a UTF16 (little-endian) encoded string at the current position.

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

在目前位置寫入 UTF8 編碼的字串。Writes a UTF8 encoded string at the current position.

適用於