{
  "_id": "6af6db86535793c85332b58a",
  "Package": "bitstreamio",
  "Type": "Package",
  "Title": "Read and Write Bits from Files, Connections and Raw Vectors",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Mike\", \"Cheng\", role = c(\"aut\", \"cre\", 'cph'), email = \"mikefc@coolbutuseless.com\")\n)",
  "Maintainer": "Mike Cheng <mikefc@coolbutuseless.com>",
  "URL": "https://github.com/coolbutuseless/bitstreamio",
  "BugReports": "https://github.com/coolbutuseless/bitstreamio/issues",
  "Description": "Bit-level reading and writing are necessary when dealing\nwith many file formats e.g. compressed data and binary files.\nCurrently, R connections are manipulated at the byte level.\nThis package wraps existing connections and raw vectors so that\nit is possible to read bits, bit sequences, unaligned bytes and\nlow-bit representations of integers.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://coolbutuseless.r-universe.dev",
  "Date/Publication": "2025-01-14 23:28:27 UTC",
  "RemoteUrl": "https://github.com/coolbutuseless/bitstreamio",
  "RemoteRef": "HEAD",
  "RemoteSha": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-13 09:18:15 UTC",
    "User": "root"
  },
  "Author": "Mike Cheng [aut, cre, cph]",
  "_user": "coolbutuseless",
  "_type": "src",
  "_file": "bitstreamio_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/288d4782e1919778c4abcf0e23805522721a6b824f328d0905f9ecf607d55f76",
  "_filesize": 128936,
  "_sha256": "288d4782e1919778c4abcf0e23805522721a6b824f328d0905f9ecf607d55f76",
  "_expires": "2027-02-21T09:42:28.000Z",
  "_created": "2026-11-13T09:18:15.000Z",
  "_published": "2026-11-13T09:42:30.070Z",
  "_upstream": "https://github.com/coolbutuseless/bitstreamio",
  "_status": "success",
  "_maintainer": {
    "name": "Mike Cheng",
    "email": "mikefc@coolbutuseless.com",
    "login": "coolbutuseless",
    "description": "Cool, but useless.",
    "uuid": 181818
  },
  "_jobs": [
    {
      "job": 131800936935,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14024881669"
    },
    {
      "job": 131800936953,
      "time": 99,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14024473049"
    },
    {
      "job": 131800936846,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14025767626"
    },
    {
      "job": 131800936833,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14025217874"
    },
    {
      "job": 131799478043,
      "time": 185,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14024044032"
    },
    {
      "job": 131800936775,
      "time": 76,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14025040914"
    },
    {
      "job": 131800936804,
      "time": 134,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14024148897"
    },
    {
      "job": 131800936780,
      "time": 132,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14024187673"
    },
    {
      "job": 131800936849,
      "time": 135,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14024887150"
    }
  ],
  "_buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/43399735220",
  "_commit": {
    "id": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
    "author": "mike <mikefc@coolbutuseless.com>",
    "committer": "mike <mikefc@coolbutuseless.com>",
    "message": "update installation instructions for CRAN [no ci]\n",
    "time": 1736897307
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "coolbutuseless",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "coolbutuseless",
      "count": 4,
      "uuid": 181818
    }
  ],
  "_userbio": {
    "uuid": 181818,
    "type": "user",
    "name": "mikefc",
    "followers": 797,
    "description": "Cool, but useless."
  },
  "_downloads": {
    "count": 345,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bitstreamio"
  },
  "_devurl": "https://github.com/coolbutuseless/bitstreamio",
  "_searchresults": 4,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/bitstreamio.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/coolbutuseless/bitstreamio",
  "_realowner": "coolbutuseless",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-01-17"
    }
  ],
  "_exports": [
    "assert_bs",
    "bits_to_raw",
    "bits_to_uint",
    "bs_advance",
    "bs_align",
    "bs_close",
    "bs_flush",
    "bs_is_aligned",
    "bs_open",
    "bs_peek",
    "bs_read_bit",
    "bs_read_byte",
    "bs_read_sint_exp_golomb",
    "bs_read_uint",
    "bs_read_uint_exp_golomb",
    "bs_write_bit",
    "bs_write_byte",
    "bs_write_sint_exp_golomb",
    "bs_write_uint",
    "bs_write_uint_exp_golomb",
    "exp_golomb_bits_to_sint",
    "exp_golomb_bits_to_uint",
    "is_bs",
    "pad_bits",
    "raw_to_bits",
    "sint_to_exp_golomb_bits",
    "uint_to_bits",
    "uint_to_exp_golomb_bits"
  ],
  "_help": [
    {
      "page": "assert_bs",
      "title": "Test if an object is a bitstream object and fail if it is not",
      "topics": [
        "assert_bs"
      ]
    },
    {
      "page": "bits_to_raw",
      "title": "Convert between logical vector of bits and raw vector",
      "topics": [
        "bits_to_raw",
        "raw_to_bits"
      ]
    },
    {
      "page": "bits_to_uint",
      "title": "Convert between bits and unsigned integers",
      "topics": [
        "bits_to_uint",
        "uint_to_bits"
      ]
    },
    {
      "page": "bs_advance",
      "title": "Advance bitstream",
      "topics": [
        "bs_advance"
      ]
    },
    {
      "page": "bs_align",
      "title": "Align the bitstream to the given number of bits - relative to start of bitstream",
      "topics": [
        "bs_align"
      ]
    },
    {
      "page": "bs_flush",
      "title": "Flush bits in the buffer",
      "topics": [
        "bs_flush"
      ]
    },
    {
      "page": "bs_is_aligned",
      "title": "Is the current bit connection aligned at the given number of bits for reading/writing?",
      "topics": [
        "bs_is_aligned"
      ]
    },
    {
      "page": "bs_open",
      "title": "Open/close a bitstream",
      "topics": [
        "bs_close",
        "bs_open"
      ]
    },
    {
      "page": "bs_peek",
      "title": "Peek at bits from a bitstream i.e. examine bits without advancing bitstream",
      "topics": [
        "bs_peek"
      ]
    },
    {
      "page": "bs_read_bit",
      "title": "Read bits from a bitstream",
      "topics": [
        "bs_read_bit"
      ]
    },
    {
      "page": "bs_write_bit",
      "title": "Write unaligned bits to a bitstream",
      "topics": [
        "bs_write_bit"
      ]
    },
    {
      "page": "bs_write_byte",
      "title": "Read/Write unaligned bytes with a bitstream",
      "topics": [
        "bs_read_byte",
        "bs_write_byte"
      ]
    },
    {
      "page": "bs_write_sint_exp_golomb",
      "title": "Read/Write Exponential-Golomb encoded signed integers",
      "topics": [
        "bs_read_sint_exp_golomb",
        "bs_write_sint_exp_golomb"
      ]
    },
    {
      "page": "bs_write_uint",
      "title": "Read/Write unsigned integers",
      "topics": [
        "bs_read_uint",
        "bs_write_uint"
      ]
    },
    {
      "page": "bs_write_uint_exp_golomb",
      "title": "Read/Write Exponential-Golomb encoded non-negative integers",
      "topics": [
        "bs_read_uint_exp_golomb",
        "bs_write_uint_exp_golomb"
      ]
    },
    {
      "page": "is_bs",
      "title": "Test if an object is a bitstream object",
      "topics": [
        "is_bs"
      ]
    },
    {
      "page": "pad_bits",
      "title": "Pad a logical vector to the given size",
      "topics": [
        "pad_bits"
      ]
    },
    {
      "page": "sint_to_exp_golomb_bits",
      "title": "Convert between signed integers and Exponential-Golomb bit sequences",
      "topics": [
        "exp_golomb_bits_to_sint",
        "sint_to_exp_golomb_bits"
      ]
    },
    {
      "page": "uint_to_exp_golomb_bits",
      "title": "Convert between non-negative integers and Exponential Golomb bit sequences",
      "topics": [
        "exp_golomb_bits_to_uint",
        "uint_to_exp_golomb_bits"
      ]
    }
  ],
  "_readme": "https://github.com/coolbutuseless/bitstreamio/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "overview.Rmd",
      "filename": "overview.html",
      "title": "Overview",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What's in the box",
        "Read/Write with a raw vector",
        "Reading/Write with a connection",
        "Read/write unsigned integers at varying bit depths",
        "Read/write integers with Exponential-Golomb coding"
      ],
      "created": "2025-01-13 09:06:52",
      "modified": "2025-01-13 09:06:52",
      "commits": 1
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "bitstreamio",
  "_universes": [
    "coolbutuseless"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-13T09:20:15.000Z",
      "distro": "resolute",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/181a555cbcb5ece23dfcd6852325f3db65710248ad9ce758d8cd0e6caec33337",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/43399735220"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-13T09:20:00.000Z",
      "distro": "resolute",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/5c168d83ad16ceb6b79ba7386faf73de55ffd52eca799186645ec0d33eb7d661",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/43399735220"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-13T09:41:49.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/66fd0ac71290bf93678f97dac0018abd04d137a2b491d033b8d18857034d951c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/43399735220"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-13T09:31:47.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/d53fcea1d8f6f36d56c629e5720f46e18872caa26494a5516ffe6bdff7840904",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/43399735220"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-13T09:19:48.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/67a938a4b4fdb8c1f953bc9db22ad3959da64a29ef29134cef1cc73f9ad6ef8b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/43399735220"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-13T09:19:59.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/cb66dee757217a5461f830461f725ec10a90a2a0ae80e83c693c8f2900ce68a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/43399735220"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-13T09:20:06.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/7e0ca8fda765a9ac810a3c95f87d5c7ec751112a411572ee4f1e3b026c0e673e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/43399735220"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-13T09:19:47.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/e76c97d815fe2013b81695b9c0e785b9a2eb1b0eeb264a4cd8f0d16e72836d09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/43399735220"
    }
  ]
}