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

This commit is contained in:
Project Nayuki 2018-10-02 00:21:19 +00:00
parent b32c467031
commit 34408d66aa
6 changed files with 6 additions and 5 deletions

View File

@ -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> {

View File

@ -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 {

View File

@ -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() {

View File

@ -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,

View File

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

View File

@ -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> {