class Lexbor::EncodingConverter

Defined in:

lexbor/utils/encoding_converter.cr

Constant Summary

REPLACEMENT_BYTES = "�"

Constructors

Instance Method Summary

Constructor Detail

def self.new(from : LibEncoding::EncodingT | String, to : LibEncoding::EncodingT | String, replace_str : String | Nil = nil, buffer_size = 4 * 1024) #

[View source]
def self.new(from : LibEncoding::DataT, to : LibEncoding::DataT, replace_str : String | Nil = nil, buffer_size : Int32 = 4 * 1024) #

[View source]

Instance Method Detail

def convert(io : IO, &) #

[View source]
def convert(io : IO) : String #

[View source]
def convert(s : String, &) #

[View source]
def convert(s : String) : String #

[View source]
def convert(s : Slice, &) #

[View source]
def convert(s : Slice) : String #

[View source]