Package

kantan.codecs.resource

bom

Permalink

package bom

Adds Byte Order Mark support to resources.

By importing this package, the default behaviour of kantan libraries will be changed to: * add a BOM when writing textual data (if one exists for the output charset). * attempt to find a BOM when reading textual data and, if one is found, use the corresponding charset (potentially overriding whatever charset was specified "in-code").

Those behaviours are not enabled by default as they're very Microsoft-specific.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. bom
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. object BomReader

    Permalink
  2. object BomWriter

    Permalink
  3. implicit def readerFromStream[A](implicit arg0: InputResource[A], codec: scala.io.Codec): ReaderResource[A]

    Permalink
  4. implicit def writerFromStream[A](implicit arg0: OutputResource[A], codec: scala.io.Codec): WriterResource[A]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped