UInt32

extension UInt32: Resolutionable, FixedWidthIntegerResolutionable
extension UInt32: FitFieldCodeable
  • Apply Resolution with Direction

    Declaration

    Swift

    public func resolution(_ direction: ResolutionDirection, resolution: Resolution) -> Double

    Parameters

    direction

    Type of Resolution Direction

    resolution

    Resolution

    Return Value

    Number with Resolution applied

  • Apply Resolution With Direction

    Declaration

    Swift

    public func resolution<T>(type: T.Type, _ direction: ResolutionDirection, resolution: Resolution) -> T where T : FixedWidthInteger

    Parameters

    type

    Type to resolve to

    direction

    Resolution Direction

    resolution

    Resolution

    Return Value

    Number with Resolution Applied