Module
Data.TextEncoder
- Package
- purescript-encoding
- Repository
- menelaos/purescript-encoding
#encode Source
encode :: Encoding -> String -> Uint8ArrayEncodes a String to a Uint8Array with the given Encoding.
#encodeUtf8 Source
encodeUtf8 :: String -> Uint8ArrayEncodes a String to a Uint8Array using UTF-8 encoding.
This function is provided as a convenience as UTF-8 is the
encoding you will probably be using most of the time.
- Modules
- Data.
TextDecoder - Data.
TextEncoder