diff options
| author | Pierre-Anthony Lemieux <pal@palemieux.com> | 2019-11-30 14:32:56 -0800 |
|---|---|---|
| committer | Pierre-Anthony Lemieux <pal@palemieux.com> | 2019-11-30 14:32:56 -0800 |
| commit | dd3acfff947ca52e1a3260243cb38f7035626282 (patch) | |
| tree | 08f85ed8b94dc9b6fae738bda0dc5ae0ad71f757 /src/KM_util.h | |
| parent | fb0d1d9e580641c2d7832dcb94661dcd1ebe3374 (diff) | |
Implemented J2K desc to/from MD
Diffstat (limited to 'src/KM_util.h')
| -rwxr-xr-x | src/KM_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/KM_util.h b/src/KM_util.h index ab5a837..8a71ef7 100755 --- a/src/KM_util.h +++ b/src/KM_util.h @@ -269,6 +269,8 @@ namespace Kumu bool HasValue() const { return true; } ui32_t ArchiveLength() const { return sizeof(ui16_t); } + operator ui16_t() const { return value; } + bool Archive(MemIOWriter* Writer) const { if ( Writer == 0 ) return false; return Writer->WriteUi16BE(value); |
