Fixed documentation where the fast Java QR Code library differs from the standard version.

master
Project Nayuki 1 month ago
parent 4127249bb9
commit c1001558ba

@ -237,7 +237,8 @@ public final class QrSegment {
/** /**
* Constructs a QR Code segment with the specified attributes and data. * Constructs a QR Code segment with the specified attributes and data.
* The character count (numCh) must agree with the mode and the bit buffer length, * The character count (numCh) must agree with the mode and the bit buffer length,
* but the constraint isn't checked. The specified bit buffer is cloned and stored. * but the constraint isn't checked. The specified bit buffer is stored, and other
* code must not change any value in the array until this segment is discarded.
* @param md the mode (not {@code null}) * @param md the mode (not {@code null})
* @param numCh the data length in characters or bytes, which is non-negative * @param numCh the data length in characters or bytes, which is non-negative
* @param data the data bits (not {@code null}) * @param data the data bits (not {@code null})

Loading…
Cancel
Save