Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== BYTES ==== <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Return the size of an object in bytes and its CRC32 checksum </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^^ | **O** | **→** | **#<sub>checksum</sub>** | **I<sub>size</sub>** | | //Level 1// | //→// | //Level 2// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | **Keyword type** | [[manual:chapter5:basics#commands|Command]] || | **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-2commands-that-must-use-dolist-to-parallel-process|Group 2]] | //Commands that must use //''[[manual:chapter6:lists:cmd_cmddolist|DOLIST]]''// to parallel process// | | **Affected by flags** | //None// || </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- The ''BYTES'' command returns the size in bytes of an object and its [[https://en.wikipedia.org/wiki/Cyclic_redundancy_check|CRC32]] checksum as a base-16 integer. </callout> <callout type="warning" icon="true" title="Compatibility"> ---- ''BYTES'' is not fully equivalent to its **userRPL** counterpart. In particular: * the algorithm used in **userRPL** is different. </callout> <callout type="info" icon="true" title="Usage"> ---- **__Input__** <code> 4: 3: 2: 1: 'SIN(X)' ………………………………………………………………………………………………………… BYTES </code> \\ **__Output__** <code> 4: 3: 2: #CE2DEB01h 1: 20 ………………………………………………………………………………………………………… </code> </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:system&nofooter&noeditbtn&inline}} </callout> manual/chapter6/system/cmd_bytes.txt Last modified: 2021/09/21 13:25by jojo1973