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
countas the block buffer.
Replace all data in the buffer with new bytes.
mutating func replaceAll(with bytes: some DataProtocol)The replacement data. This must have the same count as the block buffer.