GifByteStream
class GifByteStream
Class GifByteStream Normalize string operations.
Treat string as byte stream where 2 string characters are treated as 1 hex string (byte). Eg. String ffff with length 4 is 0xff 0xff in bytes with length of 2.
Methods
__construct(string $bytes)
GifByteStream constructor.
string
bite(int $size)
Take a bite from the byte stream.
bool|float
find($byteString, $offset)
No description
back(int $step = 1)
No description
next(int $step = 1)
No description
float
length()
No description
setPosition($position)
No description
int
getPosition()
No description
mixed
getBytes()
No description
bool
isEnd()
No description
Details
at line line 27
__construct(string $bytes)
GifByteStream constructor.
at line line 40
string
bite(int $size)
Take a bite from the byte stream.