Encoding — Web platform APIs
Handle character encoding, decoding, and binary data conversion.
atob— Decodes a string of data which has been encoded using base-64 encoding.btoa— Creates a base-64 ASCII encoded string from the input string.TextDecodeOptionsTextDecoder— Represents a decoder for a specific text encoding, allowing you to convert binary data into a string given the encoding.TextDecoderCommonTextDecoderOptionsTextDecoderStreamTextEncoder— Allows you to convert a string into binary data (in the form of a Uint8Array) given the encoding.TextEncoderCommonTextEncoderEncodeIntoResultTextEncoderStream