Grafika\Gd\Helper\GifByteStream::bite PHP Method

bite() public method

Take a bite from the byte stream.
public bite ( integer $size ) : string
$size integer Byte size in integer.
return string
    public function bite($size)
    {
        $str = substr($this->bytes, $this->position * 2, $size * 2);
        $this->position += $size;
        return $str;
    }