TextEncoderEncodeIntoResult Struct

Represents the result of TextEncoder.encodeInto().

public readonly struct TextEncoderEncodeIntoResult

Properties

NameDescription
ReadGets the number of UTF-16 code units of the source that were read.
WrittenGets the number of bytes that were written to the destination.

Gets the number of UTF-16 code units of the source that were read.

public ulong Read { get; }

Gets the number of bytes that were written to the destination.

public ulong Written { get; }