decode(_:as:)

    Decode value from the buffer

    ULEB128.swift:52
    static func decode<T>(_ src: UnsafeRawBufferPointer, as: T.Type) throws -> (Int, T) where T : UnsignedInteger

    Parameters

    src

    source buffer to decode value from

    Returns

    a tuple with a size and decoded value

    Other members in extension

    Type members