CborWriter.WriteByteString 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| WriteByteString(Byte[]) |
以位元組字串編碼 (主要類型 2) 形式寫入緩衝區。 |
| WriteByteString(ReadOnlySpan<Byte>) |
以位元組字串編碼 (主要類型 2) 形式寫入緩衝區。 |
WriteByteString(Byte[])
以位元組字串編碼 (主要類型 2) 形式寫入緩衝區。
public:
void WriteByteString(cli::array <System::Byte> ^ value);
public void WriteByteString (byte[] value);
member this.WriteByteString : byte[] -> unit
Public Sub WriteByteString (value As Byte())
參數
- value
- Byte[]
要寫入的值。
例外狀況
提供的值不可為 null。
適用於
WriteByteString(ReadOnlySpan<Byte>)
以位元組字串編碼 (主要類型 2) 形式寫入緩衝區。
public:
void WriteByteString(ReadOnlySpan<System::Byte> value);
public void WriteByteString (ReadOnlySpan<byte> value);
member this.WriteByteString : ReadOnlySpan<byte> -> unit
Public Sub WriteByteString (value As ReadOnlySpan(Of Byte))
參數
- value
- ReadOnlySpan<Byte>
要寫入的值。