Utf8JsonWriter.WriteBase64String 메서드

정의

오버로드

Name Description
WriteBase64String(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

속성 이름 및 원시 바이트 값(Base64로 인코딩된 JSON 문자열)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteBase64String(ReadOnlySpan<Char>, ReadOnlySpan<Byte>)

속성 이름 및 원시 바이트 값(Base64로 인코딩된 JSON 문자열)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteBase64String(String, ReadOnlySpan<Byte>)

속성 이름 및 원시 바이트 값(Base64로 인코딩된 JSON 문자열)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteBase64String(JsonEncodedText, ReadOnlySpan<Byte>)

미리 인코딩된 속성 이름 및 원시 바이트 값(Base64로 인코딩된 JSON 문자열)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteBase64String(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs

속성 이름 및 원시 바이트 값(Base64로 인코딩된 JSON 문자열)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteBase64String(ReadOnlySpan<System::Byte> utf8PropertyName, ReadOnlySpan<System::Byte> bytes);
public void WriteBase64String(ReadOnlySpan<byte> utf8PropertyName, ReadOnlySpan<byte> bytes);
member this.WriteBase64String : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> unit
Public Sub WriteBase64String (utf8PropertyName As ReadOnlySpan(Of Byte), bytes As ReadOnlySpan(Of Byte))

매개 변수

utf8PropertyName
ReadOnlySpan<Byte>

쓸 속성의 UTF-8로 인코딩된 이름입니다.

bytes
ReadOnlySpan<Byte>

Base64로 인코딩된 텍스트로 쓸 이진 데이터입니다.

예외

지정한 속성 이름 또는 값이 너무 큽합니다.

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

Base64로 쓸 이진 데이터의 최대 허용 크기는 125,000,000바이트(또는 약 125MB)입니다. 이 제한을 초과하면 ArgumentException throw됩니다.

속성 이름은 이스케이프되고 바이트는 쓰기 전에 인코딩됩니다.

적용 대상

WriteBase64String(ReadOnlySpan<Char>, ReadOnlySpan<Byte>)

Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs

속성 이름 및 원시 바이트 값(Base64로 인코딩된 JSON 문자열)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteBase64String(ReadOnlySpan<char> propertyName, ReadOnlySpan<System::Byte> bytes);
public void WriteBase64String(ReadOnlySpan<char> propertyName, ReadOnlySpan<byte> bytes);
member this.WriteBase64String : ReadOnlySpan<char> * ReadOnlySpan<byte> -> unit
Public Sub WriteBase64String (propertyName As ReadOnlySpan(Of Char), bytes As ReadOnlySpan(Of Byte))

매개 변수

propertyName
ReadOnlySpan<Char>

코드 변환 및 UTF-8로 작성할 JSON 개체의 속성 이름입니다.

bytes
ReadOnlySpan<Byte>

Base64로 인코딩된 텍스트로 쓸 이진 데이터입니다.

예외

지정한 속성 이름 또는 값이 너무 큽합니다.

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

Base64로 쓸 이진 데이터의 최대 허용 크기는 125,000,000바이트(또는 약 125MB)입니다. 이 제한을 초과하면 ArgumentException throw됩니다.

속성 이름은 이스케이프되고 바이트는 쓰기 전에 인코딩됩니다.

적용 대상

WriteBase64String(String, ReadOnlySpan<Byte>)

Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs

속성 이름 및 원시 바이트 값(Base64로 인코딩된 JSON 문자열)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteBase64String(System::String ^ propertyName, ReadOnlySpan<System::Byte> bytes);
public void WriteBase64String(string propertyName, ReadOnlySpan<byte> bytes);
member this.WriteBase64String : string * ReadOnlySpan<byte> -> unit
Public Sub WriteBase64String (propertyName As String, bytes As ReadOnlySpan(Of Byte))

매개 변수

propertyName
String

코드 변환 및 UTF-8로 작성할 JSON 개체의 속성 이름입니다.

bytes
ReadOnlySpan<Byte>

Base64로 인코딩된 텍스트로 쓸 이진 데이터입니다.

예외

지정한 속성 이름 또는 값이 너무 큽합니다.

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

매개 변수는 propertyName .입니다 null.

설명

Base64로 쓸 이진 데이터의 최대 허용 크기는 125,000,000바이트(또는 약 125MB)입니다. 이 제한을 초과하면 ArgumentException throw됩니다.

속성 이름은 이스케이프되고 바이트는 쓰기 전에 인코딩됩니다.

적용 대상

WriteBase64String(JsonEncodedText, ReadOnlySpan<Byte>)

Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs
Source:
Utf8JsonWriter.WriteProperties.Bytes.cs

미리 인코딩된 속성 이름 및 원시 바이트 값(Base64로 인코딩된 JSON 문자열)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteBase64String(System::Text::Json::JsonEncodedText propertyName, ReadOnlySpan<System::Byte> bytes);
public void WriteBase64String(System.Text.Json.JsonEncodedText propertyName, ReadOnlySpan<byte> bytes);
member this.WriteBase64String : System.Text.Json.JsonEncodedText * ReadOnlySpan<byte> -> unit
Public Sub WriteBase64String (propertyName As JsonEncodedText, bytes As ReadOnlySpan(Of Byte))

매개 변수

propertyName
JsonEncodedText

쓸 속성의 JSON으로 인코딩된 이름입니다.

bytes
ReadOnlySpan<Byte>

Base64로 인코딩된 텍스트로 쓸 이진 데이터입니다.

예외

지정한 값이 너무 큽합니다.

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

Base64로 쓸 이진 데이터의 최대 허용 크기는 125,000,000바이트(또는 약 125MB)입니다. 이 제한을 초과하면 ArgumentException throw됩니다.

인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.

바이트는 쓰기 전에 인코딩됩니다.

적용 대상