rong_encoding 0.3.1

Encoding module for RongJS
docs.rs failed to build rong_encoding-0.3.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: rong_encoding-0.1.1

rong_encoding

Implements the Web Encoding API for text encoding and decoding.

JS APIs

  • TextEncoder — encodes strings to UTF-8 Uint8Array
    • encode(input) — encode a string
    • encodeInto(input, destination) — encode into an existing buffer
  • TextDecoder — decodes byte sequences to strings
    • new TextDecoder(label?, options?) — create a decoder for a given encoding
    • decode(input?, options?) — decode bytes to a string