package coin
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=cf65b343bcd41666494d4ab28131e0bae77af8d01ca77e96b9b1db20b5c647d8
sha512=ee34fe0881a752094f864b7cb70040e9676ddd05094099c38dcf02363eea9c9596c5a9b1635cd1f5436b9af9199e3f46676d2c7e2c87a06595ceaec63de646fb
doc/coin/Coin/index.html
Module CoinSource
The type of KOI8.
encoding_of_string s converts a (case sensitive) IANA character set name to an encoding.
encoding_to_string e is a IANA character set name for e.
The type for input sources. With a `Manual source the client must provide input with src.
src d s j l provides d with l bytes to read, starting at j in s. This byte range is read by calls to decode with d until `Await is returned. To signal the end of input call the function with l = 0.
decoder encoding src is a decoder that inputs from src.
Encoding. encoding specifies the decoded encoding scheme.
decode d is:
`Awaitifdhas a`Manualinput source and awaits for more input. The client must usesrcto provide it.`Uchar uif a Unicode scalar valueuwas decoder.`Endif the end of input was reached.`Malformed errifdencountered an errorerr.
Note. Repeated invocation always eventually returns `End, even in case of errors.
decoder_byte_count d is the number of characters already decoder on d (including malformed ones). This is the last decode's and byte offset counting from beginning of the stream.
decoder_kind d is d's the decoded encoding scheme of d.