diff options
| author | jhurst <jhurst@cinecert.com> | 2007-03-26 23:08:16 +0000 |
|---|---|---|
| committer | jhurst <> | 2007-03-26 23:08:16 +0000 |
| commit | 253b0b7af5aacd4e112190689fbdeb10968ca074 (patch) | |
| tree | eb099ebc6e627ea3f7329af92641e756e3e3cae3 /src/KM_util.cpp | |
| parent | 3a4cfef4ecefd74ff3684d06e931414f8baf3580 (diff) | |
added identifier list type
Diffstat (limited to 'src/KM_util.cpp')
| -rwxr-xr-x | src/KM_util.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/KM_util.cpp b/src/KM_util.cpp index 8228739..99bb4a9 100755 --- a/src/KM_util.cpp +++ b/src/KM_util.cpp @@ -921,31 +921,6 @@ Kumu::Timestamp::Archive(MemIOWriter* Writer) const return true; } -#if 0 -// -bool -Kumu::UnarchiveString(MemIOReader* Reader, std::string&) -{ - assert(Reader); - ui32_t str_length; - if ( ! Reader->ReadUi32BE(&str_length) ) return false; - assign((const char*)Reader->CurrentData(), str_length); - if ( ! Reader->SkipOffset(str_length) ) return false; - return true; -} - -// -bool -Kumu::String::Archive(MemIOWriter* Writer) const -{ - assert(Writer); - if ( ! Writer->WriteUi32BE(length()) ) return false; - if ( ! Writer->WriteRaw((const byte_t*)c_str(), length()) ) return false; - - return true; -} -#endif - //------------------------------------------------------------------------------------------ Kumu::MemIOWriter::MemIOWriter(ByteString* Buf) |
