sema-docs 1.23.0

Canonical structured documentation for Sema builtins/special forms; powers LSP hover/completion and REPL apropos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
---
name: "bytevector-length"
module: "bytevectors"
params: [{ name: bv, type: bytevector }]
returns: "int"
---

Return the number of bytes in a bytevector. Legacy Scheme name; `bytevector/length` is the namespaced alias.

```sema
(bytevector-length #u8(1 2 3))   ; => 3
```