diff options
author | Jon Skeet <skeet@pobox.com> | 2008-08-14 20:35:32 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2008-08-14 20:35:32 +0100 |
commit | 48ce28bf2fed8edde98f14c79807b4f4411cca6c (patch) | |
tree | eb68459cdde93fa1be14517650e7c0d0bba3a6c3 /csharp/ProtocolBuffers/WireFormat.cs | |
parent | 5923b37223a013139ff0b01558eb37a206c33fd1 (diff) | |
download | protobuf-48ce28bf2fed8edde98f14c79807b4f4411cca6c.tar.gz protobuf-48ce28bf2fed8edde98f14c79807b4f4411cca6c.tar.bz2 protobuf-48ce28bf2fed8edde98f14c79807b4f4411cca6c.zip |
Copyright fixes, a bit of documentation, and removed unnecessary using directives.
Diffstat (limited to 'csharp/ProtocolBuffers/WireFormat.cs')
-rw-r--r-- | csharp/ProtocolBuffers/WireFormat.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp/ProtocolBuffers/WireFormat.cs b/csharp/ProtocolBuffers/WireFormat.cs index 2166db48..6def39e4 100644 --- a/csharp/ProtocolBuffers/WireFormat.cs +++ b/csharp/ProtocolBuffers/WireFormat.cs @@ -28,7 +28,7 @@ namespace Google.ProtocolBuffers { /// the Protocol Buffer wire format. /// </para> /// </summary> - public class WireFormat { + public static class WireFormat { public enum WireType : uint { Varint = 0, Fixed64 = 1, @@ -38,13 +38,13 @@ namespace Google.ProtocolBuffers { Fixed32 = 5 } - internal class MessageSetField { + internal static class MessageSetField { internal const int Item = 1; internal const int TypeID = 2; internal const int Message = 3; } - internal class MessageSetTag { + internal static class MessageSetTag { internal static readonly uint ItemStart = MakeTag(MessageSetField.Item, WireType.StartGroup); internal static readonly uint ItemEnd = MakeTag(MessageSetField.Item, WireType.EndGroup); internal static readonly uint TypeID = MakeTag(MessageSetField.TypeID, WireType.Varint); |