advanced(by:)
Returns a new data buffer created by removing the given number of bytes from the front of the original buffer.
Declaration
func advanced(by amount: Int) -> DataParameters
- amount:
The number of bytes to strip from the input data buffer. The value must be less than the original data buffer’s length.
Return Value
A newly created data buffer that is shorter by the given amount than the original.