Package

zio.nio

charset

Permalink

package charset

Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class AutoDetect extends AnyRef

    Permalink
  2. final class Charset extends Ordered[Charset]

    Permalink
  3. final class CharsetDecoder extends AnyVal

    Permalink

    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
  4. final class CharsetEncoder extends AnyVal

    Permalink

    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
  5. sealed trait CoderResult extends AnyRef

    Permalink

Value Members

  1. object AutoDetect

    Permalink
  2. object Charset

    Permalink
  3. object CharsetDecoder

    Permalink
  4. object CharsetEncoder

    Permalink
  5. object CoderResult

    Permalink

Ungrouped