diff options
Diffstat (limited to 'docs/type_system/buffer.md')
| -rw-r--r-- | docs/type_system/buffer.md | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/docs/type_system/buffer.md b/docs/type_system/buffer.md deleted file mode 100644 index d38dd88..0000000 --- a/docs/type_system/buffer.md +++ /dev/null @@ -1,74 +0,0 @@ -# Buffer - ---- - -An sequence of bytes with unknown size and a byte representation - -```text -Buffer[[TYPE | UTF8 | UTF16 | UTF32] TYPE] -``` - -## Type Body Object Definitions - -```c -typedef struct { - kpl_interface *interface; -} kpl_type_body_buffer; -``` - -# Alias - -```text -String `alias Buffer[[UTF8] Void] - -Array[Generic.T] `alias Buffer[[TYPE] Generic.T] -``` - -# Operators - -## Symbol Access - -## ``get` - -## ``set` - -## ``length` - -## ``push` - -## ``pop` - -## ``reverse` - -## ``join` - -## ``split` - -## ``array` - -```text -array : SIZE `array ([U64.index] index) -``` - -## ``map` - -## ``each` - -In place map - -## ``filter` - -## ``reduce` - -## Concatenate `,` - -# Iterating - -# Mutating - -# Strings - -```text -s : "asdf" -`log s String $ "asdf" -``` |
