def read256_8
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
117def read256_8(bytes: List<&2, U32>, w0: U32, w1: U32, w2: U32, w3: U32, w4: U32, w5: U32, w6: U32, w7: U32) -> Read256:
118 match bytes:
119 case b0 <> b1 <> b2 <> b3 <> rest:
120 read256_9(rest, w0, w1, w2, w3, w4, w5, w6, w7, C256.pack(b0, b1, b2, b3))
121 case _:
122 Short256{}