ProtocolBuffers.ProtocolParser.WriteKey C# (CSharp) Method

WriteKey() public static method

public static WriteKey ( Stream stream, Key key ) : void
stream Stream
key Key
return void
        public static void WriteKey(Stream stream, Key key)
        {
            uint n = (key.Field << 3) | ((uint)key.WireType);
            WriteUInt32 (stream, n);
        }