mw::qre::QREncoder::GetEncodeBufferSize
Member Functionstatic u32 GetEncodeBufferSize( u32 data_size, u32 cell_size, u32 count );
Name | Description | |
---|---|---|
in | data_size | The size (in bytes) of the data to be encoded. |
in | cell_size | The width or height (in dots) of the format 1 QR Code. |
in | count | The number of pieces into which the QR Code has been divided. If 0, the number is analogized from the data size. |
Returns the size of buffer needed for encoding.
Gets the required size for the work buffer that is to be specified via the InitMemory
function.
For the arguments, specify information related to the QR Code you want to create by the Encode
or EncodeWithImage
function.
CONFIDENTIAL