ShiftOperations
public protocol ShiftOperations
Describes a type that supports all the standard shift operators.
-
Shift the value
a
byb
bits to the left and return the result.Declaration
Swift
static func <<(a: Self, b: Self) -> Self
-
Shift the value
a
byb
bits to the right and return the result.Declaration
Swift
static func >>(a: Self, b: Self) -> Self
-
Shift the value
a
byb
bits to the left and store the result ina
.Declaration
Swift
static func <<=(a: inout Self, b: Self)
-
Shift the value
a
byb
bits to the right and store the result ina
.Declaration
Swift
static func >>=(a: inout Self, b: Self)