Commit 3c51f5b8 authored by Gábor Melis's avatar Gábor Melis
Browse files

export WRITE-UTF-8-BYTES again

It was removed in commit 41421c98 by accident.

Thanks to Max Rottenkolber for the report.
parent 75e3072b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ Here is the [official repository][trivial-utf-8-repo] and the
<a id="x-28-22trivial-utf-8-22-20ASDF-2FSYSTEM-3ASYSTEM-29"></a>

- [system] **"trivial-utf-8"**

    - _Description:_ A small library for doing UTF-8-based input and output.
    - _Licence:_ ZLIB
    - _Author:_ Marijn Haverbeke <marijnh@gmail.com>
@@ -100,6 +101,13 @@ Here is the [official repository][trivial-utf-8-repo] and the
    characters or bytes to read, where -1 means no limit. May signal
    [`UTF-8-DECODING-ERROR`][ad1e].

<a id="x-28TRIVIAL-UTF-8-3AWRITE-UTF-8-BYTES-20FUNCTION-29"></a>

- [function] **WRITE-UTF-8-BYTES** *STRING BYTE-STREAM &KEY NULL-TERMINATE*

    Write `STRING` to `BYTE-STREAM`, encoding it as UTF-8. If
    `NULL-TERMINATE`, write an extra 0 byte at the end.

<a id="x-28TRIVIAL-UTF-8-3AUTF-8-DECODING-ERROR-20CONDITION-29"></a>

- [condition] **UTF-8-DECODING-ERROR** *[SIMPLE-ERROR][cac1]*
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@
  (utf-8-group-size function)
  (utf-8-bytes-to-string function)
  (read-utf-8-string function)
  (write-utf-8-bytes function)
  (utf-8-decoding-error condition))

(eval-when (:compile-toplevel :load-toplevel :execute)