core.eval-bytes-hash
- description
- h = h * 33 + byte modulo 2^32 over bytes from index (core.eval-value-hash)
- type
Fn(bytes: List<Number>, index: Number, hash: Number) -> Number
- expression
fn(bytes$0, index$1, hash$2) => match @core.list-get(list: $0, index: $1) { #none(_) => $2, #some(byte$3) => @core.eval-bytes-hash( bytes: $0, index: @core.plus(left: $1, right: 1), hash: @core.bit-and( left: @core.plus(left: @core.plus(left: @core.shift-left(left: $2, right: 5), right: $2), right: $3), right: 4294967295 ) ) }
- visibility
- public
core.eval-bytes-hash (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44) id: K9ATtRefI5UpL44eyMg9SWbB1rqFcBgfe7Iw1aE0M2g content hash: vjJYJxeGOxfjIqaK0Zrd6pIrgWb2CMrfdQeW9hZ1Mfs