def wsum
import bend-kit-tar@0.3.0.0/tar.bend as Tarimport Base
17# The sum of w's four bytes.
18def wsum(+w: U32) -> U32:
19 ((w .&. 255) + ((w >> 8n) .&. 255) + ((w >> 16n) .&. 255) + (w >> 24n) : U32)
import bend-kit-tar@0.3.0.0/tar.bend as Tarimport Base
17# The sum of w's four bytes.
18def wsum(+w: U32) -> U32:
19 ((w .&. 255) + ((w >> 8n) .&. 255) + ((w >> 16n) .&. 255) + (w >> 24n) : U32)