class DeltaEncoding::Encoder

Defined in:

delta_encoding.cr

Constant Summary

MAX_BITWIDTH = 32

Constructors

Instance Method Summary

Constructor Detail

def self.new(block_size : Int32 = 128, mini_blocks : Int32 = 4) #

[View source]

Instance Method Detail

def _flush #

[View source]
def bit_widths : Slice(UInt8) #

[View source]
def blocks_buffer : IO::Memory #

[View source]
def bytes #

[View source]
def calculate_bit_widths_for_delta_block_buffer(mini_blocks_to_flush) #

[View source]
def deltas : Slice(Int32) #

[View source]
def first_value : Int32 #

[View source]
def flush #

[View source]
def min_delta : Int32 #

[View source]
def mini_block_count_to_flush(number_count) #

[View source]
def pos : Int32 #

[View source]
def previous_value : Int32 #

[View source]
def to_io(io) #

[View source]
def total_count : Int32 #

[View source]
def write_integer(value : Int32) #

[View source]
def write_min_delta #

[View source]