UnsignedInteger

protocol UnsignedInteger : BinaryInteger where Self.Magnitude : BinaryInteger
  • Mechanica

    Creates a string representing the given value in the binary base.

    Example:

    Int8(10).toBinaryString //"00001010"
    

    Declaration

    Swift

    public var toBinaryString: String