{
  "_id": "6a31160e3efcd9bda435a03a",
  "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-06-16 09:20:54 UTC",
    "User": "root"
  },
  "Author": "Mike Cheng [aut, cre, cph]",
  "MD5sum": "ca1df373bb832e45e5f12956f2671a2a",
  "_user": "coolbutuseless",
  "_type": "src",
  "_file": "bitstreamio_0.1.0.tar.gz",
  "_fileid": "99c6b881780f43ced61407db263fd2142a7761430a4bd6789ebffa5c551ef534",
  "_filesize": 132266,
  "_sha256": "99c6b881780f43ced61407db263fd2142a7761430a4bd6789ebffa5c551ef534",
  "_created": "2026-06-16T09:20:54.000Z",
  "_published": "2026-06-16T09:23:26.026Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81623334538,
      "time": 109,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7662546358"
    },
    {
      "job": 81623334533,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662547929"
    },
    {
      "job": 81623334534,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7662537640"
    },
    {
      "job": 81623334615,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662543512"
    },
    {
      "job": 81622746756,
      "time": 180,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662501524"
    },
    {
      "job": 81623334485,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662538786"
    },
    {
      "job": 81623334602,
      "time": 65,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7662530162"
    },
    {
      "job": 81623334715,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7662538084"
    },
    {
      "job": 81623334587,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662533484"
    }
  ],
  "_buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/27607374197",
  "_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",
    "followers": 794,
    "description": "Cool, but useless."
  },
  "_downloads": {
    "count": 160,
    "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",
    "LICENSE",
    "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-06-16T09:22:48.000Z",
      "distro": "noble",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "da51d4831036f8fdbb2bfac006171bfa6e656aec932509cd06675c98a94a9e93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/27607374197"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-16T09:22:51.000Z",
      "distro": "noble",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "72dcc8ce0861ed7c62ea1d044b295afe85bf9abe95a03a40ddc7fdf90e06b700",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/27607374197"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-16T09:22:28.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "a4526cdc0139fb91a84cff1867b244c36758fe40e91fea8c6c1d41290944f8fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/27607374197"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-16T09:22:37.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "d9fca0321d5246ed335257ad1e0333961aa37b81fa983ca23cf42df74053bea6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/27607374197"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-16T09:22:41.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "22f6ee911b1b2d60777bd1de46bc66f6607b092c4fe84ad8c7f2e7ba6cba4581",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/27607374197"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-16T09:22:02.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "75256668b628697374b55a9f8a5c9eee796b2e77cdaa01c3b9d93f5024877627",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/27607374197"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-16T09:22:23.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "59c11e052483fa15f8c5d87e430690128280be6c8276cfd789d71bc4274aa07c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/27607374197"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-16T09:22:09.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "4440ae63ec46d12965e43843426dad749ac523a151ffe82758d4b1c1458d5f31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/27607374197"
    }
  ]
}