keen/unsafe

Source
gc-safe-value[t] t() unsafe
Returns an arbitrary value of the type. The main use of this is to overwrite unused values in a buffer, to free the memory.
reference-equal[t] bool(a t, b t) unsafe
True if two values are considered exactly equal. In a Java build, this is like the '==' operator from Java. In a JS build, this uses '===' for most types or 'Object.is' for floats (to ensure NaN equals itself).
reinterpret-cast[output, input] output(a input) unsafe
Treat an input as if it were an output. WARN: Use only if you're sure an input can be treated as an output. Otherwise this could cause invalid bytecode to be generated.
safe-reinterpret-cast char8[](a nat8[])
Certain reinterpret-casts are guaranteed to be safe. For example, treating signed integers as unsigned integers wraps based on two's complement.
safe-reinterpret-cast char8 buffer(a nat8 buffer)
safe-reinterpret-cast nat8[](a char8[])
safe-reinterpret-cast nat8 buffer(a char8 buffer)
safe-reinterpret-cast char8[](a int8[])
safe-reinterpret-cast char8 buffer(a int8 buffer)
safe-reinterpret-cast int8[](a char8[])
safe-reinterpret-cast int8 buffer(a char8 buffer)
safe-reinterpret-cast int8[](a nat8[])
safe-reinterpret-cast int8 buffer(a nat8 buffer)
safe-reinterpret-cast nat8[](a int8[])
safe-reinterpret-cast nat8 buffer(a int8 buffer)
safe-reinterpret-cast int16[](a nat16[])
safe-reinterpret-cast int16 buffer(a nat16 buffer)
safe-reinterpret-cast nat16[](a int16[])
safe-reinterpret-cast nat16 buffer(a int16 buffer)
safe-reinterpret-cast int32[](a nat32[])
safe-reinterpret-cast int32 buffer(a nat32 buffer)
safe-reinterpret-cast nat32[](a int32[])
safe-reinterpret-cast nat32 buffer(a int32 buffer)
safe-reinterpret-cast int64[](a nat64[])
safe-reinterpret-cast int64 buffer(a nat64 buffer)
safe-reinterpret-cast nat64[](a int64[])
safe-reinterpret-cast nat64 buffer(a int64 buffer)
safe-reinterpret-cast-array[out, input] spec
safe-reinterpret-cast out[](a input[])
safe-reinterpret-cast[out, input] out array-view(a input array-view) (out, input) safe-reinterpret-cast-array
weak-ref[t] builtin
new[t] t weak-ref() unsafe
Create an already-expired reference (weak-refs are intrinsically optional)
new[t] t weak-ref(a t) unsafe
get[t] t option(a t weak-ref) unsafe