BitBuffer
Holds the raw binary data
- Full name:
\chillerlan\QRCode\Helpers\BitBuffer
- This class is marked as final and can't be subclassed
- This class is a Final class
Properties
buffer
The buffer content
length
Length of the content (bits)
Methods
clear
clears the buffer
put
appends a sequence of bits
Parameters:
Parameter | Type | Description |
---|---|---|
$num |
int | |
$length |
int |
putBit
appends a single bit
Parameters:
Parameter | Type | Description |
---|---|---|
$bit |
bool |
getLength
returns the current buffer length
getBuffer
returns the buffer content
Automatically generated on 2025-03-18