← Standard library

ToBits

public fn ToBits<T>(T value) : uint64 where T is numeric
import ToBits from Wax::BitConverter;

Converts a numeric value to a 64-bit bit container. Float and double are reinterpreted as IEEE bits; integral values use an integer conversion. Use ReadLE/WriteLE or their big-endian counterparts for byte serialization.

BitConverter.wax:21

This declaration has no public members of its own.