BinaryInteger
protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude
-
Checks the bit at index.
Declaration
Swift
public func bool(at index: Int) -> Bool
-
Returns the bits’ value from index to index + length.
Declaration
Swift
public func value(at index: Int, length: Int) -> Self
-
Initialize the object from octets’ array.
Declaration
Swift
public init(with data: [UInt8])