native.Bin
Native methods on Bin.
All modules · Writing docstrings
func len(self: Bin): IntReturns the byte length.
get_item
Section titled “get_item”func get_item(self: Bin, index: Int): ByteReturns the byte at index; negative, unrepresentable, or out-of-bounds indexes error.
from_base64
Section titled “from_base64”func from_base64(text: Str): BinDecodes RFC 4648 base64 text, ignoring whitespace; invalid encoding errors.
func hash(self: Bin): U64Returns this binary value’s runtime hash.