function bytes.elems
bytes.elems: returns an iterable of the bytes in the byte string, each as a length 1 value of type
bytes.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Meet us at BazelCon 2026 in Amsterdam, 13–15 October. See our talks and what we're launching →
function bytes.elems
bytes.elems: returns an iterable of the bytes in the byte string, each as a length 1 value of type bytes.
list(b"abc".elems()) == [b"a", b"b", b"c"]
Was this page helpful?
