Skip to content
Try Kata

core.conv

Byte conversion and hashing interfaces.

All modules · Writing docstrings

type ToBin

Convert a value into an immutable byte string.

Source, line 4

func to_bin(self): Bin

Return the byte representation.

Source, line 6

type Hash

Hash a value for use as a map key. Equal keys must produce equal hashes.

Source, line 10

func hash(self): U64

Return a 64-bit unsigned hash.

Source, line 12