Utilities - Placeholder Handler

1 post / 0 new
Last post
Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:
Utilities - Placeholder Handler

In MoSync, you will often store data in handles (MAHandle). Normally this data is fixed, but there are occasions when it needs to be convenient to append data to a handle. This class makes it easy to append data to a placeholder.

PlaceholderHandler handler;
handler.setData(myData);
handler.appendData(newData, maGetDataSize(newData);
handler.appendData("This is at the end");

AttachmentSize
PlaceholderHandler.zip1.25 KB