BSD Ports

devel/ruby-bindata 3.0.0 NetBSD

Declarative way to read and write structured binary data

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
0752eb1852
License
2-clause-bsd
Categories
devel, ruby
Package size
207.3 KiB, 703.9 KiB installed

Description

BinData provides a declarative way to read and write structured binary data. This means the programmer specifies what the format of the binary data is, and BinData works out how to read and write data in this format. It is an easier (and more readable) alternative to ruby's #pack and #unpack methods. BinData makes it easy to create new data types. It supports all the common primitive datatypes that are found in structured binary data formats. Support for dependent and variable length fields is built in.

Install

Binary package:

pkgin install ruby33-bindata

From pkgsrc:

cd /usr/pkgsrc/devel/ruby-bindata && make install clean

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-bindata-3.0.0, ruby40-bindata-3.0.0

Commit history 1

DateCommitCreditsLog message
0752eb1852 taca devel/ruby-bindata: update to 3.0.0
3.0.0 (2026-07-13) * Ruby 2.x now has its own separate branch. * Namespacing now uses Ruby modules, rather than prefixes. * Added class names to dynamically generated ints and bits. * Forward keyword arguments. Thanks to Simon Coffey.