kantan.codecs.resource

bom

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. object BomReader

  2. object BomWriter

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped