Bytes.to_be: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend as Bytes Lines 26-28 of bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend&start_line=26&end_line=28 import Base # the 32-byte big-endian string of 16 limbs (SEC 1 I2OSP) def to_be(xs: List<&2, Nat>) -> List<&2, U32>: List.reverse(&2, U32, bytes_le(xs)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.reverse https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend&name=bytes_le