Skip to content

HashByteSeq

[Source]

Hash and equality functions for arbitrary ByteSeq.

primitive val HashByteSeq is
  HashFunction[ByteSeq box] val,
  HashFunction64[ByteSeq box] val

Implements


Constructors

create

[Source]

new val create()
: HashByteSeq val^

Returns


Public Functions

hash

[Source]

fun box hash(
  x: ByteSeq box)
: USize val

Parameters

Returns


hash64

[Source]

fun box hash64(
  x: ByteSeq box)
: U64 val

Parameters

Returns


eq

[Source]

fun box eq(
  x: ByteSeq box,
  y: ByteSeq box)
: Bool val

Parameters

Returns


ne

[Source]

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

Parameters

Returns