JuliaData / FlatBuffers.jl

A pure Julia implementation of google flatbuffers
https://juliadata.github.io/FlatBuffers.jl/stable
Other
43 stars 14 forks source link

Retrieving the serialized bytes from a Julia FlatBuffer #21

Closed samtkaplan closed 7 years ago

samtkaplan commented 7 years ago

This is to try and address the confusion that I had in #20. Now one can do:

...
x = Foo.Bar(1)
xbuilder = FlatBuffers.build!(x)

y = FlatBuffers.read(Foo.Bar, FlatBuffers.bytes(xbuilder))
...

I tried to run docs/make.jl, but it gave an error on my system.

codecov-io commented 7 years ago

Codecov Report

Merging #21 into master will increase coverage by 0.51%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   84.61%   85.13%   +0.51%     
==========================================
  Files           3        3              
  Lines         416      417       +1     
==========================================
+ Hits          352      355       +3     
+ Misses         64       62       -2
Impacted Files Coverage Δ
src/FlatBuffers.jl 72.57% <100%> (+1.3%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0a09b47...90a904e. Read the comment docs.

quinnj commented 7 years ago

Thanks!