mw::qre::QREncoder::GetEncodeBufferSize Member Function

Syntax

static u32 GetEncodeBufferSize(
    u32 data_size,
    u32 cell_size,
    u32 count
);

Arguments

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.

Return Values

Returns the size of buffer needed for encoding.

Description

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.

Revision History

2010/06/17
Corrected the text.
2010/05/31
Initial version.

CONFIDENTIAL