---
name: Bytes
kind: type
since: 0.1
stability: stable
---

Opaque immutable byte buffer.

Used for content that has no string semantics: cryptographic
material, image payloads, serialised blobs. Equality is byte-wise.

`Bytes` cannot be implicitly cast to `String` — UTF-8 validation is
mandatory and must go through an explicit refinement.
