getDispatchData(at:length:)

    Get the bytes at index from this ByteBuffer as a DispatchData. Does not move the reader index. The selected bytes must be readable or else nil will be returned.

    ByteBuffer-aux.swift:318
    func getDispatchData(at index: Int, length: Int) -> DispatchData?

    Parameters

    index

    The starting index into ByteBuffer containing the string of interest.

    length

    The number of bytes.

    Returns

    A DispatchData value deserialized from this ByteBuffer or nil if the requested bytes are not readable.

    Other members in extension

    Types

    Typealiases

    Show implementation details (2)

    Hide implementation details

    Type members

    Instance members

    Show obsolete interfaces (3)

    Hide obsolete interfaces