Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestProtobufDecode (0.13 sec)

  1. staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go

    			continue
    		}
    
    		if ok, _, err := s.RecognizesData(data); !ok || err != nil {
    			t.Errorf("%d: did not recognize data generated by call: %v", i, err)
    		}
    	}
    }
    
    func TestProtobufDecode(t *testing.T) {
    	wire1 := []byte{
    		0x6b, 0x38, 0x73, 0x00, // prefix
    		0x0a, 0x04,
    		0x0a, 0x00, // apiversion
    		0x12, 0x00, // kind
    		0x12, 0x00, // data
    		0x1a, 0x00, // content-type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top