HashByteSeq
Функции хеширования и сравнения для произвольных ByteSeq.
primitive val HashByteSeq is HashFunction[(String box | Array[U8 val] box)] val, HashFunction64[(String box | Array[U8 val] box)] val
Реализует
- HashFunction[(Строка box | Массив[U8 val] box)] val
- HashFunction64[(Строка box | Массив[U8 val] box)] val
Конструкторы
create
new val create() : HashByteSeq val^
Возвращает
- HashByteSeq val^
Общедоступные функции
hash
fun box hash( x: (String box | Array[U8 val] box)) : USize val
Параметры
Возвращает
- USize val
hash64
fun box hash64( x: (String box | Array[U8 val] box)) : U64 val
Параметры
Возвращает
- U64 val
eq
fun box eq( x: (String box | Array[U8 val] box), y: (String box | Array[U8 val] box)) : Bool val
Параметры
Возвращает
- Bool val
ne
fun box ne( that: HashByteSeq val) : Bool val
Параметры
- that: HashByteSeq val
Возвращает
- Bool val
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/collections-HashByteSeq