From d3a576f02b5d02245ce98741ffa6440ba5179cfb Mon Sep 17 00:00:00 2001 From: nodist Date: Mon, 11 May 2026 17:05:10 -0400 Subject: reduce number of types --- docs/type_system/buffer.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'docs/type_system/buffer.md') diff --git a/docs/type_system/buffer.md b/docs/type_system/buffer.md index 5333cee..ae0c56b 100644 --- a/docs/type_system/buffer.md +++ b/docs/type_system/buffer.md @@ -2,16 +2,18 @@ --- -An sequence of bytes with unknown size and an encoding +An sequence of bytes with unknown size and a byte representation ```text -Buffer_encoding : Enum[.byte; .utf8; .utf16; .utf32] +Buffer_repesentation: Enum[.type; .utf8; .utf16; .utf32] -Buffer[Buffer_encoding] +Buffer[TYPE; Buffer_repesentation] ``` ## Alias -``` -String `alias Buffer[.utf8] +```text +String `alias Buffer[Void; .utf8] + +Vector[Any] `alias Buffer[Any; .type] ``` -- cgit v1.2.3