Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AlwaysCompressDataConverter = NewDataConverter(converter.GetDefaultDataConverter(), Options{AlwaysEncode: true})
AlwaysCompressDataConverter is a converter that will always perform compression even if the compressed size is larger than the original.
Functions ¶
func NewDataConverter ¶
func NewDataConverter(underlying converter.DataConverter, options Options) converter.DataConverter
NewDataConverter creates a new data converter that wraps the given data converter with snappy compression.
Types ¶
Click to show internal directories.
Click to hide internal directories.