about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-rw-r--r--subx/Readme.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/subx/Readme.md b/subx/Readme.md
index 7f9ccd49..f842adfd 100644
--- a/subx/Readme.md
+++ b/subx/Readme.md
@@ -602,13 +602,21 @@ allocated memory for it.)_
 * `slice-ends-with?`: compares the end of a slice with a string
 
 #### writing to disk
+* `write`: string -> file
+  - Can also be used to cat a string into a stream.
+  - Will abort the entire program if there isn't enough room.
 * `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.
 * `write-buffered`: string -> buffered-file
 * `write-slice`: slice -> buffered-file
 * `flush`: buffered-file
 * `print-byte`:  buffered-file, int
 
 #### reading from disk
+* `read`: file -> stream
+  - Can also be used to cat one stream into another.
+  - Will silently stop reading when destination runs out of space.
 * `read-byte`: buffered-file -> byte
 * `read-line`: buffered-file -> stream
 
pre>
312a53e ^
b389647 ^







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50