Skip to content

okio / okio / Buffer / clear

clear

(js, jvm, native) fun clear():Unit

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