def enc_u

bend-collections@1.0.0.0 · src/crypto/secp256k1/point.bend:217

import bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend as Point
import 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))

Uses (5)

Used by (1)