summaryrefslogtreecommitdiff
path: root/docs/type_system/buffer.md
blob: 0933c8ac2a217f5e4a2b21392ff219b36466824d (plain)
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
# Buffer

---

An sequence of bytes with unknown size and a byte representation

```text
Buffer[[TYPE | UTF8 | UTF16 | UTF32] TYPE]
```

# Alias

```text
String `alias Buffer[[UTF8] Void]

Array[Generic.T] `alias Buffer[[TYPE] Generic.T]
```

# Operators

## ``length`

## ``get`

## ``set`

## ``push`

## ``pop`

## ``join`

## ``split`

## Concatenate `,`

# Iterating

# Mutating