Description

Truncate discards all but the first n unread bytes from the buffer. It panics if n is negative or greater than the length of the buffer.

Truncate is referenced in 1 repository

github.com/syndtr/goleveldb