package charset
- Alphabetic
- Public
- Protected
Type Members
- sealed abstract class AutoDetect extends AnyRef
- final class Charset extends Ordered[Charset]
- final class CharsetDecoder extends AnyVal
An engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters.
An engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters.
Important: a decoder instance is stateful, as it internally tracks the state of the current decoding operation.
- a decoder instance cannot be used concurrently, it can only decode a single sequence of bytes at a time
- after a decode operation is completed, the
reset
method must be used to reset the decoder before using it again on a new sequence of bytes
- final class CharsetEncoder extends AnyVal
An engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.
An engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.
Important: an encoder instance is stateful, as it internally tracks the state of the current encoding operation.
- an encoder instance cannot be used concurrently, it can only encode a single sequence of characters at a time
- after an encode operation is completed, the
reset
method must be used to reset the decoder before using it again on a new sequence of characters
- sealed trait CoderResult extends AnyRef
Value Members
- object AutoDetect
- object Charset
- object CharsetDecoder
- object CharsetEncoder
- object CoderResult