wm.tn.mime:getSize
Retrieves the size of this MIME object in bytes.
Input Parameters
mimeData | Object The MIME object of which you want to determine the size. |
Output Parameters
partSize | String Approximate size of the MIME object in bytes. This service returns -1 if it could not determine the size. |
Usage Notes
![*](bullet.gif)
The size returned in
partSize might not be an exact measure of the content size and might or might not account for any transfer encoding of the content. The size is appropriate for display in a user interface to give the user an idea of the size of this part.
![*](bullet.gif)
This service is not compatible with those in the
pub.mime folder. The MIME objects that the
pub.mime:createMimeData service creates will not work with this service.