src/Io/Buffer.php
public function skip($len)
    {
        if ($len < 1 || !isset($this->buffer[$this->bufferPos + $len - 1])) {
            throw new \LogicException('Not enough data in buffer');
        }
        $this->bufferPos += $len;
    }
public function skip($len)
    {
        if ($len < 1 || !isset($this->buffer[$this->bufferPos + $len - 1])) {
            throw new \LogicException('Not enough data in buffer');
        }
        $this->bufferPos += $len;
    }
public function skip ( $ len ) { if ( $ len < 1 || ! isset ( $ this -> buffer [ $ this -> bufferPos + $ len - 1 ] ) ) { throw new \ LogicException ( 'Not enough data in buffer' ) ; } $ this -> bufferPos += $ len ; }
Skips binary string data with given byte length from buffer

This method can be used instead of `read()` if you do not care about the
bytes that will be skipped.

@param int $len length in bytes, must be positve and non-zero
@return void
@throws \LogicException
Skips binary string data with given byte length from buffer