up: NAT32     index Zimbu documentation

CLASS NAT32.nat32 @public

summary

     

The builtin type nat32: 32 bit natural number.

Although this is a separate type, the methods for nat are used. Listed here are only the methods that differ from the nat methods.

NOTE: When compiled to Javascript a nat32 is stored as a float, since Javascript only supports float numbers.

$Size() int @public  Return the number of bytes in a nat32.
 
 

members (alphabetically)

     

FUNC $Size() int @public

     

Return the number of bytes in a nat32.

Always returns 4, since a nat32 is 32 bits

license

      Copyright 2014 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0