Hash and equality functions for arbitrary ByteSeq.
primitive val HashByteSeq is HashFunction[(String box | Array[U8 val] box)] val, HashFunction64[(String box | Array[U8 val] box)] val
new val create() : HashByteSeq val^
fun box hash( x: (String box | Array[U8 val] box)) : USize val
fun box hash64( x: (String box | Array[U8 val] box)) : U64 val
fun box eq( x: (String box | Array[U8 val] box), y: (String box | Array[U8 val] box)) : Bool val
fun box ne( that: HashByteSeq val) : Bool val
© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/collections-HashByteSeq