Core.byte_count: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Core Lines 3412-3418 of mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend&start_line=3412&end_line=3418 import Base # Handle byte lengths for count for the SHA-256 compression implementation. def byte_count(bytes: List<&2, U32>, acc: Nat) -> Nat: match bytes: case Nil{}: acc case h <> t: byte_count(t, 1n+acc) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32