about summary refs log tree commit diff stats
path: root/subx/Readme.md
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-02 23:44:43 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-02 23:48:52 -0700
commitd134a83b7454911285101dee8d14b9a41671d850 (patch)
tree8a2a01164bf73f001fac05d8979996477c011ebf /subx/Readme.md
parentf2cd405d04cd904bf1ed4d5ddf4916234c0509f5 (diff)
downloadmu-d134a83b7454911285101dee8d14b9a41671d850.tar.gz
new primitives: append-byte, append-byte-hex
These are variants of write-byte-buffered and print-byte-buffered respectively
that operate on in-memory `stream`s rather than `buffered-file`s.

They don't operate on files, so we'll avoid using the prefix 'write-'.
Diffstat (limited to 'subx/Readme.md')
-rw-r--r--subx/Readme.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/subx/Readme.md b/subx/Readme.md
index a27bf0f4..517515d8 100644
--- a/subx/Readme.md
+++ b/subx/Readme.md
@@ -626,6 +626,10 @@ allocated memory for it.)_
 * `write-stream`: stream -> file
   - Can also be used to cat one stream into another.
   - Will abort the entire program if there isn't enough room.
+* `append-byte`: int -> stream
+  - Will abort the entire program if there isn't enough room.
+* `append-byte-hex`: int -> stream
+  - Will abort the entire program if there isn't enough room.
 * `write-buffered`: string -> buffered-file
 * `write-slice-buffered`: slice -> buffered-file
 * `flush`: buffered-file