We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5ee1a0 commit bebf909Copy full SHA for bebf909
encodings/fsst/src/array.rs
@@ -319,11 +319,12 @@ impl FSSTArray {
319
/// this array.
320
///
321
/// This is private to the crate to avoid leaking `fsst-rs` types as part of the public API.
322
- pub(crate) fn decompressor(&self) -> Decompressor<'_> {
+ pub fn decompressor(&self) -> Decompressor<'_> {
323
Decompressor::new(self.symbols().as_slice(), self.symbol_lengths().as_slice())
324
}
325
326
- pub(crate) fn compressor(&self) -> &Compressor {
+ /// Retrieves the FSST compressor.
327
+ pub fn compressor(&self) -> &Compressor {
328
self.compressor.as_ref()
329
330
0 commit comments