/*
-Copyright (c) 2005-2007, John Hurst
+Copyright (c) 2005-2009, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
ASDCP::MXF::UTF16String::operator=(const char* sz)
{
if ( sz == 0 || *sz == 0 )
- clear();
+ erase();
else
this->assign(sz);
bool
ASDCP::MXF::UTF16String::Unarchive(Kumu::MemIOReader* Reader)
{
- clear();
+ erase();
const ui16_t* p = (ui16_t*)Reader->CurrentData();
ui32_t length = Reader->Remainder() / 2;
char mb_buf[MB_LEN_MAX+1];
#endif // KM_WIN32
-ASDCP::MXF::Timestamp::Timestamp(const Timestamp& rhs)
+ASDCP::MXF::Timestamp::Timestamp(const Timestamp& rhs) : IArchive()
{
Year = rhs.Year;
Month = rhs.Month;