Home
last modified time | relevance | path

Searched refs:toInt32 (Results 1 – 1 of 1) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DFieldCodec.cs207 … public static FieldCodec<T> ForEnum<T>(uint tag, Func<T, int> toInt32, Func<int, T> fromInt32) in ForEnum() argument
211 (output, value) => output.WriteEnum(toInt32(value)), in ForEnum()
212 value => CodedOutputStream.ComputeEnumSize(toInt32(value)), tag); in ForEnum()