bert
bert copied to clipboard
BERT (Binary ERlang Term) serialization library for Ruby.
Hello! With my fork, I've committed a minor change which enables one to make use of all 32 bits of integer while marshalling. See OTP-8540 [here](http://erlang.org/download/otp_src_R14B.readme). I've performed tests found...
...ieee754 binary64
This PR makes the BERT protocol aware of Ruby encodings. I have updated the Encoder and the Decoder as follows: ## Decoder The decoder now looks for a magic header...
http://erlang.org/doc/apps/erts/erl_ext_dist.html#id90685
That's all. :-)
I'm trying to decode an erlang term but I'm getting this: ``` ruby [3] pry(main)> BERT.decode('[{"x-max-hops",1},{"x-internal-purpose","federation"}]') TypeError: Invalid magic value for BERT string from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/bert-1.1.6/lib/bert/decoder.rb:8:in `decode' ``` Any ideas? -...
How do you feel about adding standard erlang term format compression to the bert spec? < < 131, 80, UncompressedSize:32, ZlibCompressed/binary > >
I encounter this a lot within the ruby community, but this time it actually affects me. defining Object.t conflicts with rails' translate. t should at least be in a module,...
http://github.com/mojombo/bert/blob/bf343621a31247a4b4e8bfc738115978d46515dc/Rakefile#L13 GitHub Gems shouldn't be relied upon anymore.