class ANSEL::Converter

Included Modules

Defined in:

ansel/converter.cr

Class Method Summary

Class Method Detail

def self.arrint8_to_uint32(value : Array(UInt8)) #

Variable length array of uint8 to uint32, ignoring values after the 4th in the array


[View source]
def self.convert(bytes : Bytes, to_charset : String = "ANSEL") : Bytes #

[View source]
def self.convert(string : String, to_charset : String = "ANSEL") : String #

[View source]
def self.convert(input : IO, to_charset : String = "ANSEL") : String #

[View source]
def self.convert(string : String, output_io : IO, to_charset : String = "ANSEL") #

[View source]
def self.convert(bytes : Bytes, output_io : IO, to_charset : String = "ANSEL") #

[View source]
def self.convert(input_io : IO, output_io : IO, to_charset : String = "ANSEL") #

[View source]
def self.convert_to_ansel(io, output_io) #

[View source]
def self.convert_to_utf8(io, output_io) #

[View source]
def self.decode_multibyte(io) #

[View source]
def self.int32_to_uint8(value : Int32) #

[View source]