Contents

replaceAll(with:)

Replace all data in the buffer with new bytes.

Declaration

mutating func replaceAll(with bytes: some DataProtocol)

Parameters

  • bytes:

    The replacement data. This must have the same count as the block buffer.