def read256_0
import bend-collections@1.0.0.0/src/crypto/hash.bend as Hashimport Base
import bend-collections@1.0.0.0/src/crypto/sha/core.bend as C256
173def read256_0(bytes: List<&2, U32>) -> Read256:
174 match bytes:
175 case b0 <> b1 <> b2 <> b3 <> rest:
176 read256_1(rest, C256.pack(b0, b1, b2, b3))
177 case _:
178 Short256{}