Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MarshalVTStrict (0.27 sec)

  1. pilot/pkg/util/protoconv/protoconv.go

    	if features.EnableVtprotobuf {
    		if vt, ok := msg.(vtStrictMarshal); ok {
    			// Attempt to use more efficient implementation
    			// "Strict" is the equivalent to Deterministic=true below
    			return vt.MarshalVTStrict()
    		}
    	}
    	// If not available, fallback to normal implementation
    	return proto.MarshalOptions{Deterministic: true}.Marshal(msg)
    }
    
    // MessageToAny converts from proto message to proto Any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 04:55:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top