summaryrefslogtreecommitdiff
path: root/docs/type_system/buffer.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/buffer.md')
-rw-r--r--docs/type_system/buffer.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/type_system/buffer.md b/docs/type_system/buffer.md
new file mode 100644
index 0000000..5333cee
--- /dev/null
+++ b/docs/type_system/buffer.md
@@ -0,0 +1,17 @@
+# Buffer
+
+---
+
+An sequence of bytes with unknown size and an encoding
+
+```text
+Buffer_encoding : Enum[.byte; .utf8; .utf16; .utf32]
+
+Buffer[Buffer_encoding]
+```
+
+## Alias
+
+```
+String `alias Buffer[.utf8]
+```