You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
736 B
41 lines
736 B
<?php
|
|
/**
|
|
* This file is part of the phpQr package
|
|
*
|
|
* See @see QRCode class for description of package and license.
|
|
*/
|
|
|
|
/**
|
|
* Import necessary dependencies
|
|
*/
|
|
require_once 'QRBitBuffer.php';
|
|
|
|
/**
|
|
* This interface describes a QRByte implementation
|
|
*
|
|
* @author Maik Greubel <greubel@nkey.de>
|
|
* @package phpQr
|
|
*/
|
|
interface QRByte
|
|
{
|
|
/**
|
|
* Retrieve the mode
|
|
*
|
|
* @return int The mode
|
|
*/
|
|
public function getMode();
|
|
|
|
/**
|
|
* Retrieve the length
|
|
*
|
|
* @return int The length
|
|
*/
|
|
public function getLength();
|
|
|
|
/**
|
|
* Write data to byte
|
|
*
|
|
* @param QRBitBuffer $buffer The data to write into byte
|
|
*/
|
|
public function write(QRBitBuffer $buffer);
|
|
}
|