diff options
Diffstat (limited to 'upb/decode.h')
-rw-r--r-- | upb/decode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upb/decode.h b/upb/decode.h index dee4c0f..224e606 100644 --- a/upb/decode.h +++ b/upb/decode.h @@ -9,7 +9,8 @@ UPB_BEGIN_EXTERN_C -bool upb_decode(upb_strview buf, upb_msg *msg, const upb_msglayout *l); +bool upb_decode(const char *buf, size_t size, upb_msg *msg, + const upb_msglayout *l); UPB_END_EXTERN_C |