def enc_u
import bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend as Pointimport Base
import bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend as B
217def enc_u(a: Affine) -> List<&2, U32>:
218 match a:
219 case Affine{x, y}: 4 <> List.append(&2, U32, B.to_be(x), B.to_be(y))