{
  "_id": "6a1f11e7b401979e7341db8f",
  "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-05-17 07:48:06 UTC",
    "User": "root"
  },
  "Author": "Mike Cheng [aut, cre, cph]",
  "MD5sum": "1ed8b6b96de534d73dd14b72273c5d67",
  "_user": "coolbutuseless",
  "_type": "src",
  "_file": "bitstreamio_0.1.0.tar.gz",
  "_fileid": "c46056bdb00574cc182ad44275991a688102631f1cdf8db088c49a58dae0b507",
  "_filesize": 129428,
  "_sha256": "c46056bdb00574cc182ad44275991a688102631f1cdf8db088c49a58dae0b507",
  "_created": "2026-05-17T07:48:06.000Z",
  "_published": "2026-06-02T17:24:55.925Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79131334357,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040562222"
    },
    {
      "job": 79131334610,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040562253"
    },
    {
      "job": 79131334511,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040562526"
    },
    {
      "job": 79131334355,
      "time": 79,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040558877"
    },
    {
      "job": 79131334081,
      "time": 151,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040550461"
    },
    {
      "job": 79131333874,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365023852"
    },
    {
      "job": 79131334652,
      "time": 72,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040558251"
    },
    {
      "job": 79131334916,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040560249"
    },
    {
      "job": 79131334782,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040558264"
    }
  ],
  "_buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/25984995007",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/coolbutuseless/bitstreamio",
  "_commit": {
    "id": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
    "author": "mike <mikefc@coolbutuseless.com>",
    "committer": "mike <mikefc@coolbutuseless.com>",
    "message": "update installation instructions for CRAN [no ci]\n",
    "time": 1736897307
  },
  "_maintainer": {
    "name": "Mike Cheng",
    "email": "mikefc@coolbutuseless.com",
    "login": "coolbutuseless",
    "description": "Cool, but useless.",
    "uuid": 181818
  },
  "_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",
    "description": "Cool, but useless."
  },
  "_downloads": {
    "count": 179,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bitstreamio"
  },
  "_devurl": "https://github.com/coolbutuseless/bitstreamio",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bitstreamio.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-05-17T07:50:03.000Z",
      "distro": "noble",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "f38561789d3f470352d5ff8757cce97f7cd2d699af642771c9d5b2b0028106f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/25984995007"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-17T07:50:04.000Z",
      "distro": "noble",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "bb5628320d8a8406f2cf8eaade677a89b1b3e4786be45d275baa79a46ddc779d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/25984995007"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-17T07:50:04.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "184e7f78f11c09ce4e88f462a8f3258d1210ae626cf2ca39598affb10799564b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/25984995007"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-17T07:49:33.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "8d5aa4e0a9ebb9717552fe561464d728efd129fec36800ba9396e5b4fdf78c84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/25984995007"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-17T07:49:20.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "59d5041870c1f5fe81e6f2d3a0344e8599a11e26fcd23b8626f5c6a77a792471",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/25984995007"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-17T07:49:40.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "9e3cb6f0116b6d8a5f45741b052a506981ce19b49ac867dbfaf904a13d4175ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/25984995007"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-17T07:49:18.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "b1911eb9f1bc16e6e17e4fec22e677fa18d172363dd38e08a48bdf7df41befca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/25984995007"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-02T17:24:39.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "64e7a9821f83a1cc2ffc0b7201ccea684e16a65dc879fe2b625a6ea4898ec00b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/25984995007"
    }
  ]
}