HashByteSeq

Hash and equality functions for arbitrary ByteSeq.

primitive val HashByteSeq

Constructors

create

new val create()
: HashByteSeq val^

Returns


Public Functions

hash

fun box hash(
  x: (String box | Array[U8 val] box))
: U64 val

Parameters

Returns


eq

fun box eq(
  x: (String box | Array[U8 val] box),
  y: (String box | Array[U8 val] box))
: Bool val

Parameters

Returns


ne

fun box ne(
  that: HashByteSeq val)
: Bool val

Parameters

Returns