Tweaked the BitBuffer class top-level comment in all languages except C.

pull/39/merge
Project Nayuki 6 years ago
parent b32c467031
commit 34408d66aa

@ -30,7 +30,7 @@
namespace qrcodegen {
/*
* An appendable sequence of bits (0's and 1's).
* An appendable sequence of bits (0s and 1s).
*/
class BitBuffer final : public std::vector<bool> {

@ -28,7 +28,7 @@ import java.util.Objects;
/**
* An appendable sequence of bits (0's and 1's).
* An appendable sequence of bits (0s and 1s).
*/
public final class BitBuffer implements Cloneable {

@ -950,7 +950,7 @@ var qrcodegen = new function() {
/*
* A private helper class that represents an appendable sequence of bits.
* A private helper class that represents an appendable sequence of bits (0s and 1s).
* This constructor creates an empty bit buffer (length 0).
*/
function BitBuffer() {

@ -811,7 +811,7 @@ class _ReedSolomonGenerator(object):
class _BitBuffer(list):
"""An appendable sequence of bits (0's and 1's)."""
"""An appendable sequence of bits (0s and 1s)."""
def get_bytes(self):
"""Packs this buffer's bits into bytes in big endian,

@ -1059,6 +1059,7 @@ impl QrSegmentMode {
/*---- Bit buffer functionality ----*/
// An appendable sequence of bits (0s and 1s).
pub struct BitBuffer(pub Vec<bool>);

@ -884,7 +884,7 @@ namespace qrcodegen {
/*
* An appendable sequence of bits. The implicit constructor creates an empty bit buffer (length 0).
* An appendable sequence of bits (0s and 1s). The implicit constructor creates an empty bit buffer (length 0).
*/
class BitBuffer extends Array<bit> {

Loading…
Cancel
Save