class Simple8b::Encoder

Included Modules

Defined in:

simple8b.cr

Constructors

Instance Method Summary

Instance methods inherited from module Simple8b::Pack

pack1(ints) pack1, pack10(ints) pack10, pack12(ints) pack12, pack120(ints) pack120, pack15(ints) pack15, pack2(ints) pack2, pack20(ints) pack20, pack240(ints) pack240, pack3(ints) pack3, pack30(ints) pack30, pack4(ints) pack4, pack5(ints) pack5, pack6(ints) pack6, pack60(ints) pack60, pack7(ints) pack7, pack8(ints) pack8

Constructor Detail

def self.new(io : IO::Memory) #

[View source]
def self.new #

[View source]

Instance Method Detail

def buffer : Slice(UInt64) #

[View source]
def bytes #

[View source]
def can_pack(ints, n, bits) #

[View source]
def encode(ints) #

[View source]
def flush #

[View source]
def write(integer : Int::Unsigned) #

[View source]
def write(ints : Slice(UInt64)) #

[View source]