summaryrefslogtreecommitdiff
path: root/src/KM_util.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2007-03-26 23:08:16 +0000
committerjhurst <>2007-03-26 23:08:16 +0000
commit253b0b7af5aacd4e112190689fbdeb10968ca074 (patch)
treeeb099ebc6e627ea3f7329af92641e756e3e3cae3 /src/KM_util.cpp
parent3a4cfef4ecefd74ff3684d06e931414f8baf3580 (diff)
added identifier list type
Diffstat (limited to 'src/KM_util.cpp')
-rwxr-xr-xsrc/KM_util.cpp25
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)