{
  "_id": "6acf2f7cd9de2f3f33fc8caf",
  "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-10-14 07:23:41 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/da3a41029ea9edee170847bbbbe4ea21911a37075bbcb477bd4334e37552a048",
  "_filesize": 128949,
  "_sha256": "da3a41029ea9edee170847bbbbe4ea21911a37075bbcb477bd4334e37552a048",
  "_expires": "2027-01-22T07:30:02.000Z",
  "_created": "2026-10-14T07:23:41.000Z",
  "_published": "2026-10-14T07:30:04.320Z",
  "_buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/38527730560",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115733029208,
      "time": 94,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11877015729"
    },
    {
      "job": 115733029170,
      "time": 99,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11876453121"
    },
    {
      "job": 115733029126,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11876901813"
    },
    {
      "job": 115733029370,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11875969290"
    },
    {
      "job": 115732057747,
      "time": 164,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11876697087"
    },
    {
      "job": 115733029235,
      "time": 77,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11877325034"
    },
    {
      "job": 115733029187,
      "time": 87,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11877280217"
    },
    {
      "job": 115733029462,
      "time": 62,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11876224930"
    },
    {
      "job": 115733029380,
      "time": 70,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11876283408"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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": 259,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bitstreamio"
  },
  "_devurl": "https://github.com/coolbutuseless/bitstreamio",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_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-10-14T07:25:20.000Z",
      "distro": "resolute",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/620fb374fca079ce7248df033a1323db6ad282fa6b82db44a8e32f88aee1ca4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/38527730560"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-14T07:25:23.000Z",
      "distro": "resolute",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/985c075a56160aef248bd57bc937a47e259389e385a23b7f8fe844912a84bd81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/38527730560"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-14T07:25:42.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/0c3a7f9fedf2b72c358d4457a8dfe67ad576f49a2c94e8d354a68a5ef6d31432",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/38527730560"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-14T07:29:27.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/b1f5835663531338f41292445ab8101d5bec012f721ccfa5f5544bf728b56d4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/38527730560"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-14T07:25:13.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/03164168c4323e3a575a8f0f923be9f008c9e0dc4079bccd9c146397ed950d50",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/38527730560"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-14T07:25:04.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/8f99669e167dfa17d89d418b3b8d45b861ee2ab94e079f14fc003497fad3a185",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/38527730560"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-14T07:24:42.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/fb0d421d774a1b88c09427e9d03407b660dcbb0aeb4f71270edf52cf5cc2d4ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/38527730560"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-14T07:24:49.000Z",
      "commit": "036447f7ca01cb05668cea92a542fe6fcee5a4c4",
      "fileid": "https://r2.ropensci.org/17d65326b03c0f7f3e1f1a42f901be08396b28fb0a2b90ad1540f8a676ca0996",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/38527730560"
    }
  ]
}