integerValue(asTypeTruncatingIfNeeded:)
The raw value of the data cast as an integer type, with no transformations applied.
Declaration
func integerValue<IntegerType>(asTypeTruncatingIfNeeded: IntegerType.Type) -> IntegerType where IntegerType : FixedWidthIntegerParameters
- asTypeTruncatingIfNeeded:
The type to which to cast the underlying bytes, truncating or extending the bytes as necessary.
Mentioned in
Return Value
The data cast as the requested type.