namespace ProtoBuf
{
///
/// Indicates the encoding used to represent an individual value in a protobuf stream
///
public enum WireType
{
///
/// Represents an error condition
///
None = -1,
///
/// Base-128 variant-length encoding
///
Variant = 0,
///
/// Fixed-length 8-byte encoding
///
Fixed64 = 1,
///
/// Length-variant-prefixed encoding
///
String = 2,
///
/// Indicates the start of a group
///
StartGroup = 3,
///
/// Indicates the end of a group
///
EndGroup = 4,
///
/// Fixed-length 4-byte encoding
/// 10
Fixed32 = 5,
///
/// This is not a formal wire-type in the "protocol buffers" spec, but
/// denotes a variant integer that should be interpreted using
/// zig-zag semantics (so -ve numbers aren't a significant overhead)
///
SignedVariant = WireType.Variant | (1 << 3),
}
}