• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2023 Google LLC.  All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7 
8 #ifndef UPB_WIRE_TYPES_H_
9 #define UPB_WIRE_TYPES_H_
10 
11 // A list of types as they are encoded on the wire.
12 typedef enum {
13   kUpb_WireType_Varint = 0,
14   kUpb_WireType_64Bit = 1,
15   kUpb_WireType_Delimited = 2,
16   kUpb_WireType_StartGroup = 3,
17   kUpb_WireType_EndGroup = 4,
18   kUpb_WireType_32Bit = 5
19 } upb_WireType;
20 
21 #endif /* UPB_WIRE_TYPES_H_ */
22