module Comandante::Helper

Overview

Some helper functions

Defined in:

lib/comandante/src/comandante/helper.cr
comandante/zstd.cr

Class Method Summary

Class Method Detail

def self.read_zstd(path) #

Reads zstd file into a string


[View source]
def self.read_zstd(path, &) : Nil #

Reads zstd line by line

read_zstd(path) { |line| puts line }

[View source]
def self.write_zstd(obj, path, level = 3) : Nil #

Reads zstd file into a string


[View source]
def self.write_zstd(path, level = 3, &) : Nil #

Reads zstd file line by line


[View source]