copyBytes(at:to:length:)

    Copies length bytes starting at the fromIndex to toIndex. Does not move the writer index.

    ByteBuffer-core.swift:1090
    @discardableResult mutating func copyBytes(at fromIndex: Int, to toIndex: Int, length: Int) throws -> Int

    Parameters

    fromIndex

    The index of the first byte to copy.

    toIndex

    The index into to which the first byte will be copied.

    length

    The number of bytes which should be copied.

    Other members in extension

    Types

    Typealiases

    Show implementation details (2)

    Hide implementation details

    Type members

    Instance members

    Show obsolete interfaces (3)

    Hide obsolete interfaces