-
Deserialize a range of
Data
into a specific typeDeclaration
Swift
func extract<T>(start: Int, length: Int) throws -> T
Parameters
start
start position
lenght
number of bytes (8 bit) from start that you want to keep in range
Return Value
Deserializaztion into a specific type.
-
Undocumented
Declaration
Swift
public var data: Data { get }
-
Undocumented
Declaration
Swift
public init(from data: Data)