diff options
author | Eduardo Julian | 2020-05-19 23:46:38 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-05-19 23:46:38 -0400 |
commit | 853642c340730b3bb23c1ac87660c5c7ecbffa93 (patch) | |
tree | 250a785d8c61b38f6673f0273d07118971124c4c /stdlib/source/lux/data/text/encoding.lux | |
parent | d97f92842981501a8e0d95a1b4f1ba3d9e72f0d5 (diff) |
Can now write TAR files.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/data/text/encoding.lux | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/source/lux/data/text/encoding.lux b/stdlib/source/lux/data/text/encoding.lux index 59e5efcc2..9e94f25af 100644 --- a/stdlib/source/lux/data/text/encoding.lux +++ b/stdlib/source/lux/data/text/encoding.lux @@ -219,6 +219,8 @@ (#try.Success (|> (TextDecoder::new [(..name ..utf-8)]) (TextDecoder::decode [value])))}))) -(structure: #export UTF-8 (Codec Binary Text) +(structure: #export UTF-8 + (Codec Binary Text) + (def: encode ..to-utf8) (def: decode ..from-utf8)) |