MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / encodedComponents

Function encodedComponents

src/core/imap/MCIMAPNamespaceItem.cpp:124–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static Array * encodedComponents(Array * components)
125{
126 Array * result;
127
128 result = Array::array();
129 for(unsigned int i = 0 ; i < components->count() ; i ++) {
130 String * value = (String *) components->objectAtIndex(i);
131 result->addObject(value->mUTF7EncodedString());
132 }
133
134 return result;
135}
136
137static Array * decodedComponents(Array * components)
138{

Callers 1

pathForComponentsMethod · 0.85

Calls 4

objectAtIndexMethod · 0.80
mUTF7EncodedStringMethod · 0.80
countMethod · 0.45
addObjectMethod · 0.45

Tested by

no test coverage detected