🛀 extract Mode

This commit is contained in:
codemasher
2020-11-21 21:52:19 +01:00
parent cbf8a990ca
commit 37a40571e6
11 changed files with 124 additions and 78 deletions
+2 -2
View File
@@ -21,9 +21,9 @@ use chillerlan\QRCode\Helpers\BitBuffer;
interface QRDataModeInterface{
/**
* returns the length bits for the given breakpoint [0,1,2]
* returns the current data mode constant
*/
public function getLengthBits(int $k):int;
public function getDataMode():int;
/**
* retruns the length in bits of the data string