bool syten::LZ4::Comp_SymFilter::filter | ( | const char *& | src_begin, |
const char * | src_end, | ||
char *& | out_begin, | ||
char * | out_end, | ||
bool | |||
) |
Filters data in [src_begin, src_end)
and writes it to [out_begin, out_end)
.
References syten::LZ4::attempt_compression(), syten::DynArray< Type >::begin(), buffer, buffer_end, buffer_next, close(), Init, syten::LZ4::magic, syten::LZ4::max_buffer_size, std::memcpy(), std::min(), syten::DynArray< Type >::size(), status, SYTEN_ASSERT, WroteClearSize, WroteCompSize, and WroteMagic.