Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkBinaryMarshaler (0.22 sec)

  1. src/net/netip/fuzz_test.go

    		t.Logf("(%v).MarshalText() = %q", y, buf2)
    		t.Fatalf("second MarshalText differs from first: %q != %q", buf, buf2)
    	}
    }
    
    // checkBinaryMarshaler checks that x's MarshalText and UnmarshalText functions round trip correctly.
    func checkBinaryMarshaler(t *testing.T, x encoding.BinaryMarshaler) {
    	buf, err := x.MarshalBinary()
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
Back to top