Skip to content

Fluent? Also BinaryIO #1

Description

@trans

Hmm... I would exactly call it a fluent interface. That would be more like:

File.open(my_file.bin) do |f|
    f.extend(BinaryFinery)
    version = f.uint16.big.read
    length  = f.uint32.little.read
end

Btw, have you seen: BinaryIO? You can take over that project if you want it and do what ever you will with it. I'm no longer actively maintaining it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions