krzema12 / snakeyaml-engine-kmp

A Kotlin Multiplatform port of snakeyaml-engine
Apache License 2.0
19 stars 1 forks source link

Remove BOM skip in ScannerImpl #186

Closed aSemy closed 1 month ago

aSemy commented 1 month ago

There's no need to skip BOMs in ScannerImpl. ScannerImpl gets the characters from StreamReader, which skips BOMs. Skipping them again here is redundant.