| chunk/2 | Convert a chunk, returns {done, ConvertedBytes} } | {more, Converted}. |
| close/1 | Close the encoder - dummy function, close will be done by the garbage collector. |
| conv/2 | Convert Input into the requested encoding. |
| conv/3 | Convert input. |
| convert/2 | Convert input FromEncoding to utf-8. |
| convert/3 | Convert input which is in FromEncoding to ToEncoding. |
| finalize/1 | Reset the cd structure, returns ok | {rest, LeftOverBytes}. |
| open/2 | Open a new encoder which can be used to convert text from FromCode into ToCode. |
chunk(Cd, Input) -> any()
Convert a chunk, returns {done, ConvertedBytes} } | {more, Converted}
close(Cd) -> any()
Close the encoder - dummy function, close will be done by the garbage collector.
conv(Cd, Input) -> any()
Convert Input into the requested encoding.
conv(Cd, Input, ChunkSize) -> any()
Convert input. The input will first be split into chunks of ChunkSize before being converted by the nif.
convert(FromEncoding, Input) -> any()
Convert input FromEncoding to utf-8
convert(FromEncoding, ToEncoding, Input) -> any()
Convert input which is in FromEncoding to ToEncoding.
finalize(Cd) -> any()
Reset the cd structure, returns ok | {rest, LeftOverBytes}
open(ToCode, FromCode) -> any()
Open a new encoder which can be used to convert text from FromCode into ToCode.
Generated by EDoc