net/netip.Addr.MarshalBinary (method, view implemented interface methods) one use net/netip (current package) netip.go#L1008: func (ip Addr) MarshalBinary() ([]byte, error) {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)