encodeInto
fun encodeInto(source: String, destination: Uint8Array<ArrayBufferLike>): TextEncoderEncodeIntoResult(source)
The TextEncoder.encodeInto()
method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding.