Description

Consume drops the first numBytes number of populated bytes from the look ahead buffer. NOTE: This is an O(n) operation since it requires shifting the remaining bytes to the beginning of the buffer. Avoid consuming the buffer byte by byte.

Consume is referenced in 1 repository

github.com/dropbox/godropbox