{
    "content": [
        {
            "type": "text",
            "text": "# Bit::Vector::Minimal (perldoc)\n\n## NAME\n\nBit::Vector::Minimal - Object-oriented wrapper around vec()\n\n## SYNOPSIS\n\nuse Bit::Vector::Minimal;\nmy $vec = Bit::Vector->new(size => 8, width => 1, endianness => \"little\");\n# These are the defaults\n$vec->set(1); # $vec's internal vector now looks like \"00000010\"\n$vec->get(3); # 0\n\n## DESCRIPTION\n\nThis is a much simplified, lightweight version of Bit::Vector, and wraps Perl's (sometimes\nconfusing) \"vec\" function in an object-oriented abstraction.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **AUTHOR**\n- **SEE ALSO**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Bit::Vector::Minimal",
        "section": "",
        "mode": "perldoc",
        "summary": "Bit::Vector::Minimal - Object-oriented wrapper around vec()",
        "synopsis": "use Bit::Vector::Minimal;\nmy $vec = Bit::Vector->new(size => 8, width => 1, endianness => \"little\");\n# These are the defaults\n$vec->set(1); # $vec's internal vector now looks like \"00000010\"\n$vec->get(3); # 0",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Bit::Vector::Minimal - Object-oriented wrapper around vec()\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Bit::Vector::Minimal;\nmy $vec = Bit::Vector->new(size => 8, width => 1, endianness => \"little\");\n# These are the defaults\n\n$vec->set(1); # $vec's internal vector now looks like \"00000010\"\n$vec->get(3); # 0\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a much simplified, lightweight version of Bit::Vector, and wraps Perl's (sometimes\nconfusing) \"vec\" function in an object-oriented abstraction.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "new\nCreates a new bit vector. By default, this creates a one-byte vector with 8 one-bit \"slots\",\nwith bit zero on the right of the bit pattern. These settings can be changed by passing\nparameters to the constructor: \"size\" will alter the size in bits of the vector; \"width\" will\nalter the width of the slots. The module will die if \"width\" is not an integer divisor of\n\"size\". \"endianness\" controls whether the zeroth place is on the right or the left of the bit\nvector.\n\nset(POS[, VALUE])\nSets the bit or slot at position \"POS\" to value \"VALUE\" or \"all bits on\" if \"VALUE\" is not\ngiven.\n\nget(POS)\nReturns the bit or slot at position \"POS\".\n\ndisplay\nDisplay the vector. For debugging purposes.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Current maintainer: Tony Bowden\n\nOriginal author: Simon Cozens\n\nBUGS and QUERIES\nPlease direct all correspondence regarding this module to: bug-Bit-Vector-Minimal@rt.cpan.org\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Bit::Vector\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "Copyright 2003, 2004 by Kasei\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}