Skip to content

keithnoguchi/flatbuffers-pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flatbuffers-pool

drone crate docs

RAII based FlatBufferBuilder pool.

Examples

Global pool:

use flatbuffers_pool::FlatBufferBuilderPool;

let mut b = FlatBufferBuilderPool::get();
let name = b.create_string("something fun");
b.finish(name, None);

Local pool:

use flatbuffers_pool::FlatBufferBuilderPool;

let mut pool = FlatBufferBuilderPool::new().build();
let mut b = pool.get();
let name = b.create_string("something fun");
b.finish(name, None);

About

RAII based FlatBufferBuilder pool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages