Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Lexbor::EncodingConverter
Inherits
Reference
<
Object
Constants
REPLACEMENT_BYTES = "�"
Constructors
new
(from :
LibEncoding::EncodingT
|
String
, to :
LibEncoding::EncodingT
|
String
, replace_str :
String
|
Nil
= nil, buffer_size = 4 * 1024)
Source
new
(from :
LibEncoding::DataT
, to :
LibEncoding::DataT
, replace_str :
String
|
Nil
= nil, buffer_size :
Int32
= 4 * 1024)
Source
Instance methods
convert
(io :
IO
, &)
Source
convert
(io :
IO
) :
String
Source
convert
(s :
String
, &)
Source
convert
(s :
String
) :
String
Source
convert
(s :
Slice
, &)
Source
convert
(s :
Slice
) :
String
Source