BlobWriter.WriteSerializedString(String) 方法
定义
以 SerString 格式写入字符串(请参阅 ECMA-335-II 23.3 自定义属性)。Writes a string in SerString format (see ECMA-335-II 23.3 Custom attributes).
public:
void WriteSerializedString(System::String ^ str);
public void WriteSerializedString (string? str);
public void WriteSerializedString (string str);
member this.WriteSerializedString : string -> unit
Public Sub WriteSerializedString (str As String)
参数
- str
- String
例外
此生成器不可写入;它已与另一个生成器链接。The builder is not writable; it has been linked with another one.
注解
字符串采用 UTF8 编码,并以字节为单位作为其大小的前缀。The string is UTF8 encoded and prefixed by the its size in bytes.
null字符串表示为单字节0xff。A null string is represented as a single byte 0xFF.