B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Mime Folder | Summary of Elements in this Folder | wm.tn.mime:getSize
 
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
*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.
*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.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release