Skip to content

outddd/lz4b

 
 

Repository files navigation

lz4b: lz4 erlang binding

Frame APIs

Frame Compress

lz4b_frame:compress(binary()) -> {ok, binary()} | {error, atom()}.

Frame Decompress

lz4b_frame:decompress(binary()) -> {ok, binary()} | {error, atom()}.

Frame Info

lz4b_frame:read_frame_info(binary()) -> frame_info() | {error, atom()}.

Configuration API

reload configuration

lz4b_frame:reload_config() -> ok.

Configuration

application env: dirty_threshold : In byte size. binary larger than this size would be handled in a dirty scheduler to avoid long scheduling in erlang scheduler. Default is 0 which means disabled (dirty scheduler not in use).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Erlang 57.8%
  • C 33.2%
  • Makefile 7.7%
  • CMake 1.3%