summaryrefslogtreecommitdiff
path: root/src/KM_util.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2009-12-22 21:46:39 +0000
committerjhurst <>2009-12-22 21:46:39 +0000
commitecfb614c4c7f16db4b9d76e650053ba4896b79cc (patch)
tree1ba363a7b768b09a560911180bba23a0e4b9eea6 /src/KM_util.h
parentc063fb19776c6f3f650698e47b27e219958d40fb (diff)
big KLV support
Diffstat (limited to 'src/KM_util.h')
-rwxr-xr-xsrc/KM_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/KM_util.h b/src/KM_util.h
index 0f2af46..7ca30e0 100755
--- a/src/KM_util.h
+++ b/src/KM_util.h
@@ -154,6 +154,10 @@ namespace Kumu
return (*buf & 0x0f) + 1;
}
+ // Return the BER length required to encode value. A return value of zero
+ // indicates a value too large for this library.
+ ui32_t get_BER_length_for_value(ui64_t valuse);
+
// read a BER value
bool read_BER(const byte_t* buf, ui64_t* val);