struct Wasmer::Pages
- Wasmer::Pages
- Struct
- Value
- Object
Overview
Units of WebAssembly pages (as specified to be 65,536 bytes)
Defined in:
wasmer/pages.crConstant Summary
-
MaxPages =
65536_u32
-
Represents the maximum number of pages
-
MinPages =
256_u32
-
Represents the minimum number of pages
-
PageSize =
65536_u32
-
Represents a memory page size
Constructors
Instance Method Summary
-
#to_bytes : UInt32
Converts Pages to a native Crystal UInt32 which is the Pages' size in bytes
-
#to_s(io : IO) : Nil
Same as
#inspect(io)
. -
#to_u32 : UInt32
Converts Pages to a native Crystal UInt32 which is the Pages' size