Side
public enum Side : UInt8
extension Side: FitFieldCodeable
FIT Side
-
Right
Declaration
Swift
case right = 0 -
Left
Declaration
Swift
case left = 1 -
Invalid
Declaration
Swift
case invalid = 255
-
Encode Into Data
Declaration
Swift
public func encode(base: BaseTypeData) -> Data?Parameters
baseBaseTypeData
-
Decode FIT Field
Declaration
Swift
public static func decode<T>(type: T.Type, data: Data, base: BaseTypeData, arch: Endian) -> T?Parameters
typeType of Field
dataData to Decode
baseBaseTypeData
archEndian
Return Value
Decoded Value