Obtains the sizes in bytes of files, string, images, objects, etc.
1 object.2byte
<object.2byte>
<object /> !
</object.2byte>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eobject | String/Byte/byte[]/File/DataSource/DataHandler/Blob/Node | Element which you can obtain its size in bytes. |
Returns | |
---|---|
Type | Description |
Byte | Size in bytes. |
Example
Copy
<xsql-script name='object_2_byte'> <body> <println> <object.2byte> <file name='test.xml' type='absolute' /> </object.2byte> </println> </body> </xsql-script>