clear

expect fun clear()

Discards all bytes in this buffer. Calling this method when you're done with a buffer will return its segments to the pool.

actual fun clear()
actual fun clear()