commit | 0750fc46dd1e184c7a57c0def301f5ee049354f5 | [log] [tgz] |
---|---|---|
author | Laurence Lundblade <lgl@securitytheory.com> | Sat Jun 20 21:02:34 2020 -0700 |
committer | Laurence Lundblade <lgl@securitytheory.com> | Sat Jun 20 21:02:34 2020 -0700 |
tree | a19dca11a0c2bae77c124d6f64a1acf18d8d5b30 | |
parent | aa965d708ca2603fed38cada092ba0d3af187ce0 [diff] [blame] |
bstr enter test is working (but still more work and testing to do)
diff --git a/inc/qcbor/UsefulBuf.h b/inc/qcbor/UsefulBuf.h index e49b8c7..41a7b56 100644 --- a/inc/qcbor/UsefulBuf.h +++ b/inc/qcbor/UsefulBuf.h
@@ -1934,6 +1934,12 @@ } +static inline size_t UsefulInputBuf_GetLength(UsefulInputBuf *pMe) +{ + return pMe->UB.len; +} + + static inline void UsefulInputBuf_Seek(UsefulInputBuf *pMe, size_t uPos) { if(uPos > pMe->UB.len) {