Namespaces | |
namespace | id3 |
namespace | lyr3 |
namespace | mm |
Functions | |
size_t | renderNumber (uchar *buffer, uint32 val, size_t size) |
String | renderNumber (uint32 val, size_t size) |
String | convert (String data, ID3_TextEnc sourceEnc, ID3_TextEnc targetEnc) |
size_t | ucslen (const unicode_t *unicode) |
ID3_Err | createFile (String name, fstream &file) |
size_t | getFileSize (fstream &file) |
size_t | getFileSize (ifstream &file) |
size_t | getFileSize (ofstream &file) |
ID3_Err | openWritableFile (String name, fstream &file) |
ID3_Err | openWritableFile (String name, ofstream &file) |
ID3_Err | openReadableFile (String name, fstream &file) |
ID3_Err | openReadableFile (String name, ifstream &file) |
String | toString (uint32 val) |
WString | toWString (const unicode_t buf[], size_t len) |
String dami::convert | ( | String | data, | |
ID3_TextEnc | sourceEnc, | |||
ID3_TextEnc | targetEnc | |||
) |
Definition at line 185 of file utils.cpp.
References oldconvert().
Referenced by ID3_FieldImpl::SetEncoding().
ID3_Err dami::createFile | ( | String | name, | |
fstream & | file | |||
) |
Definition at line 240 of file utils.cpp.
References ID3E_NoError, and ID3E_ReadOnly.
Referenced by RenderV2ToFile(), and ID3_TagImpl::Update().
size_t dami::getFileSize | ( | ofstream & | file | ) |
Definition at line 282 of file utils.cpp.
Referenced by ID3_TagImpl::Strip(), and ID3_TagImpl::Update().
ID3_Err dami::openReadableFile | ( | String | name, | |
ifstream & | file | |||
) |
Definition at line 350 of file utils.cpp.
References ID3E_NoError, ID3E_NoFile, and NOCREATE.
Referenced by ID3_TagImpl::ParseFile().
ID3_Err dami::openReadableFile | ( | String | name, | |
fstream & | file | |||
) |
ID3_Err dami::openWritableFile | ( | String | name, | |
ofstream & | file | |||
) |
Definition at line 315 of file utils.cpp.
References ID3E_NoError, ID3E_NoFile, ID3E_ReadOnly, and NOCREATE.
Referenced by RenderV2ToFile(), ID3_TagImpl::Strip(), and ID3_TagImpl::Update().
ID3_Err dami::openWritableFile | ( | String | name, | |
fstream & | file | |||
) |
Definition at line 295 of file utils.cpp.
References ID3E_NoError, ID3E_NoFile, ID3E_ReadOnly, and NOCREATE.
String dami::renderNumber | ( | uint32 | val, | |
size_t | size | |||
) |
size_t dami::renderNumber | ( | uchar * | buffer, | |
uint32 | val, | |||
size_t | size | |||
) |
String dami::toString | ( | uint32 | val | ) |
WString dami::toWString | ( | const unicode_t | buf[], | |
size_t | len | |||
) |
size_t dami::ucslen | ( | const unicode_t * | unicode | ) |
Definition at line 216 of file utils.cpp.
References NULL, and NULL_UNICODE.
Referenced by ID3_FieldImpl::Add(), ID3_Tag::Find(), ID3_FieldImpl::Get(), ID3_FieldImpl::GetRawUnicodeTextItem(), and ID3_FieldImpl::Set().