Binary Primitive Type Conversions

The result of a conversion of any type to a Binary primitive type is a binary representation of the source item.

A conversion from a Binary primitive type to another type takes the first n bytes of the Binary item, where the n value is the size of the target type. If the Binary item is shorter than the target item, the target item is padded with zeros.

Converting MemoryAddress and Point primitive types to primitive types other than the Binary type are not permitted.