aboutsummaryrefslogtreecommitdiff
path: root/csharp/ProtocolBuffers/WireFormat.cs
blob: df15526a3f05e561da75cfe9341ecde694898c38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Text;

namespace Google.ProtocolBuffers {
  public class WireFormat {
    public enum WireType {
      Varint = 0,
      Fixed64 = 1,
      LengthDelimited = 2,
      StartGroup = 3,
      EndGroup = 4,
      Fixed32 = 5
    }

    internal class MessageSetField {
      internal const int Item = 1;
      internal const int TypeID = 2;
      internal const int Message = 3;
    }

    public static uint MakeTag(int fieldNumber, WireType type) {

      // FIXME
      return 0;
    }
  }
}