def bsum
import bend-kit-tar@0.3.0.0/tar.bend as Tarimport Base
30# The sum of the 512 bytes from word k: 0 only for a zero block.
31def bsum(a: Array<U32>, +k: U32) -> Array<U32> & U32:
32 bsum.go(128n, Array.get(U32, a, k), k, 0)
import bend-kit-tar@0.3.0.0/tar.bend as Tarimport Base
30# The sum of the 512 bytes from word k: 0 only for a zero block.
31def bsum(a: Array<U32>, +k: U32) -> Array<U32> & U32:
32 bsum.go(128n, Array.get(U32, a, k), k, 0)