| // Protocol Buffers - Google's data interchange format |
| // Copyright 2023 Google LLC. All rights reserved. |
| // |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file or at |
| // https://developers.google.com/open-source/licenses/bsd |
| |
| #ifndef UPB_WIRE_TYPES_H_ |
| #define UPB_WIRE_TYPES_H_ |
| |
| // A list of types as they are encoded on the wire. |
| typedef enum { |
| kUpb_WireType_Varint = 0, |
| kUpb_WireType_64Bit = 1, |
| kUpb_WireType_Delimited = 2, |
| kUpb_WireType_StartGroup = 3, |
| kUpb_WireType_EndGroup = 4, |
| kUpb_WireType_32Bit = 5 |
| } upb_WireType; |
| |
| #endif /* UPB_WIRE_TYPES_H_ */ |