From 253b0b7af5aacd4e112190689fbdeb10968ca074 Mon Sep 17 00:00:00 2001 From: jhurst Date: Mon, 26 Mar 2007 23:08:16 +0000 Subject: added identifier list type --- src/KM_util.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'src/KM_util.cpp') 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) -- cgit v1.2.3