|
|
|
@ -4148,7 +4148,7 @@ UPB_API upb_DecodeStatus upb_Decode(const char* buf, size_t size, |
|
|
|
|
// Same as upb_Decode but with a varint-encoded length prepended.
|
|
|
|
|
// On success 'num_bytes_read' will be set to the how many bytes were read,
|
|
|
|
|
// on failure the contents of num_bytes_read is undefined.
|
|
|
|
|
UPB_API upb_DecodeStatus upb_DecodeLengthDelimited( |
|
|
|
|
UPB_API upb_DecodeStatus upb_DecodeLengthPrefixed( |
|
|
|
|
const char* buf, size_t size, upb_Message* msg, size_t* num_bytes_read, |
|
|
|
|
const upb_MiniTable* mt, const upb_ExtensionRegistry* extreg, int options, |
|
|
|
|
upb_Arena* arena); |
|
|
|
@ -4220,11 +4220,10 @@ UPB_API upb_EncodeStatus upb_Encode(const upb_Message* msg, |
|
|
|
|
upb_Arena* arena, char** buf, size_t* size); |
|
|
|
|
|
|
|
|
|
// Encodes the message prepended by a varint of the serialized length.
|
|
|
|
|
UPB_API upb_EncodeStatus upb_EncodeLengthDelimited(const upb_Message* msg, |
|
|
|
|
UPB_API upb_EncodeStatus upb_EncodeLengthPrefixed(const upb_Message* msg, |
|
|
|
|
const upb_MiniTable* l, |
|
|
|
|
int options, |
|
|
|
|
upb_Arena* arena, char** buf, |
|
|
|
|
size_t* size); |
|
|
|
|
int options, upb_Arena* arena, |
|
|
|
|
char** buf, size_t* size); |
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
} /* extern "C" */ |
|
|
|
|