summaryrefslogtreecommitdiff
path: root/docs/type_system/buffer.md
blob: ae0c56b56cee85474e0683c2502ec48c5ef4f652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Buffer

---

An sequence of bytes with unknown size and a byte representation

```text
Buffer_repesentation: Enum[.type; .utf8; .utf16; .utf32]

Buffer[TYPE; Buffer_repesentation]
```

## Alias

```text
String `alias Buffer[Void; .utf8]

Vector[Any] `alias Buffer[Any; .type]
```