{
    "mode": "perldoc",
    "parameter": "Plucene::Bitvector",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3ABitvector/json",
    "generated": "2026-06-11T04:52:33Z",
    "synopsis": "# isa Bit::Vector::Minimal;\nmy $bitvector = Plucene::Bitvector->read($stream);\n$bitvector->write($stream);\nmy $count = $bitvector->count;",
    "sections": {
        "NAME": {
            "content": "Plucene::Bitvector - a vector of bits\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "# isa Bit::Vector::Minimal;\n\nmy $bitvector = Plucene::Bitvector->read($stream);\n\n$bitvector->write($stream);\n\nmy $count = $bitvector->count;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A serialisable implementation of a vector of bits.\n\nThis subclass of Bit::Vector::Minimal allows the writing (and reading) of vectors to (and from)\na Plucene stream.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "count\nmy $count = $bitvector->count;\n\nCompute the number of one-bits.\n\nwrite\n$bitvector->write($stream);\n\nWrite this vector to the passed in stream.\n\nread\nmy $bitvector = Plucene::Bitvector->read($stream);\n\nRead from the passed in stream.\n",
            "subsections": []
        }
    },
    "summary": "Plucene::Bitvector - a vector of bits",
    "flags": [],
    "examples": [],
    "see_also": []
}