def v6.show.mapped
import bend-kit-netip@0.1.0.0/netip.bend as Netipimport Base
329def v6.show.mapped(mapped: Bool, +a: U32, +b: U32, +c: U32, +d: U32) -> String:
330 match mapped:
331 case True{}:
332 "::ffff:" ++ v4.show(d)
333 case False{}:
334 v6.show.run(a, b, c, d, zeros.best(groups(a, b, c, d), 0, 0, 0, 0, 0))