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.
- Source
- package.scala
- Alphabetic
- By Inheritance
- bom
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- implicit def readerFromStream[A](implicit arg0: InputResource[A], codec: scala.io.Codec): ReaderResource[A]
- implicit def writerFromStream[A](implicit arg0: OutputResource[A], codec: scala.io.Codec): WriterResource[A]
- object BomReader
- object BomWriter