pullBuffer extracts the enough underlying storage from b.buffer to hold n bytes. It removes this storage from b.buffer, returns a new buffer that holds the storage, and updates pulledIndex to indicate which part of b.buffer's storage must be reallocated during the next call to nextIovecs.
(n int)