You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: QRCoder/QRCodeGenerator.CodewordBlock.cs
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,31 @@
2
2
{
3
3
publicpartialclassQRCodeGenerator
4
4
{
5
+
/// <summary>
6
+
/// Represents a block of codewords in a QR code. QR codes are divided into several blocks for error correction purposes.
7
+
/// Each block contains a series of data codewords followed by error correction codewords.
8
+
/// </summary>
5
9
privatestructCodewordBlock
6
10
{
11
+
/// <summary>
12
+
/// Initializes a new instance of the CodewordBlock struct with specified arrays of code words and error correction (ECC) words.
13
+
/// </summary>
14
+
/// <param name="codeWords">The array of data codewords for this block. Data codewords carry the actual information.</param>
15
+
/// <param name="eccWords">The array of error correction codewords for this block. These codewords help recover the data if the QR code is damaged.</param>
0 commit comments