Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-13 08:34:21

0001 // Protocol Buffers - Google's data interchange format
0002 // Copyright 2024 Google LLC.  All rights reserved.
0003 //
0004 // Use of this source code is governed by a BSD-style
0005 // license that can be found in the LICENSE file or at
0006 // https://developers.google.com/open-source/licenses/bsd
0007 
0008 #ifndef UPB_WIRE_BYTE_SIZE_H_
0009 #define UPB_WIRE_BYTE_SIZE_H_
0010 
0011 #include <stddef.h>
0012 
0013 #include "upb/message/message.h"
0014 #include "upb/mini_table/message.h"
0015 
0016 // Must be last.
0017 #include "upb/port/def.inc"
0018 
0019 #ifdef __cplusplus
0020 extern "C" {
0021 #endif
0022 
0023 UPB_API size_t upb_ByteSize(const upb_Message* msg, const upb_MiniTable* mt);
0024 
0025 #ifdef __cplusplus
0026 }  // extern "C"
0027 #endif
0028 
0029 #include "upb/port/undef.inc"
0030 
0031 #endif  // UPB_WIRE_BYTE_SIZE_H_