Back to Explore

indutny/offset-buffer

GitHub
1 watchersOpen source

Last release:

obuf (offset-buffer) is a byte buffer implementation optimized for chunked data, including special handling for dropping bytes at the front, merging into integer types, and discarding buffers without penalty after prior merges. It is used in spyd-transport, for SPDY support as part of HTTP/2.

Project status

  • Maintenance status: The repository shows an upstream push in 2023-04-15, but the latest published update shown is v1.1.2 from 2018-03-10, with no newer updates listed, suggesting the project is quiet or in maintenance mode rather than actively updated as of 2026-06-09.
  • Update cadence: Updates appear to have been published in the mid-2010s, then stalled for multiple years after 2018, indicating a very low cadence for user-facing updates.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.1.2

    Release v1.1.2 (no release notes provided) primarily updates the internal OffsetBuffer integer-reading logic in index.js and bumps the package version. It also adds repository metadata files (LICENSE, README) and introduces a package-lock.json with dev dependency entries.

    Breaking
  • v1.1.1

    Release v1.1.1 (no release notes provided) makes a small internal change to OffsetBuffer.prototype.toChunks in index.js, adjusting how the final buffer is sliced when the total offset exceeds the requested size. It also bumps the package version in package.json from 1.1.0 to 1.1.1.

  • v1.1.0

    Release v1.1.0 was published on 2015-06-20, but no release notes were provided by the publisher. As a result, this release cannot be assessed for new features, bug fixes, breaking changes, or security updates from the provided information.

  • v1.0.4

    Release v1.0.4 is a small patch update with no release notes provided. The only functional code change is in index.js, adjusting how OffsetBuffer.prototype.readUInt32BE computes and normalizes the returned 32-bit value.

  • v1.0.3

    Release v1.0.3 includes essentially a version bump and a small change in index.js. The release notes field is empty, so there is no documented explanation for the code change.

  • v1.0.2

    Release v1.0.2 (obuf) increments the package version and includes a targeted fix in OffsetBuffer reading logic for multi-byte little-endian reads. The accompanying tests add regression coverage for reads that span across internal buffer boundaries.

  • v1.0.1

    Release v1.0.1 makes a small behavioral change to OffsetBuffer.prototype.take when called with n = 0. It also adds a regression test covering that scenario. No release notes were provided by the publisher.

  • v1.0.0

    This release bumps the package version from 0.1.1 to 1.0.0 and adds new test coverage for OffsetBuffer methods. The only production code change in the diff is the addition of OffsetBuffer.prototype.peekUInt8, which reads a byte at the current offset without advancing the buffer cursor. No release notes were provided, so the change set is effectively undocumented.

    Features
  • v0.1.1

    Release v0.1.1 (2014-09-03) contains a small code change and a version bump. No release notes were provided, so changes must be inferred from the code diff.

  • v0.1.0

    Release v0.1.0 was published on 2014-08-30. No release notes were provided by the publisher, so the changes included in this version cannot be determined from the available data.