FFI bindings to libBERT, a library for encoding and decoding BERT data.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.specopts
.yardopts
ChangeLog.md
LICENSE.txt
README.md
Rakefile
ffi-bert.gemspec

README.md

ffi-bert

Description

FFI bindings to libBERT, a library for the encoding and decoding of BERT data.

Features

  • Supports encoding/decoding of:
    • Integers.
    • Floating point numbers.
    • Atoms.
    • Strings.
    • Binary data.
    • Tuples.
    • Lists.
    • Complex types:
      • Nil.
      • Boolean True and False values.
      • Dictionaries.
      • Time values.
      • Regular Expressions.
  • Supports buffered, streaming or callback-based reading/writing of BERT data.
  • Supports converting between BERT data and Ruby native objects.

Requirements

Install

$ sudo gem install ffi-bert

License

See {file:LICENSE.txt} for license information.