from

fun from(contents: String, source: String): CharacterSource(source)

Create a CharacterSource from a source String

Since

0.1.0

Parameters

contents

the contents of the CharacterSource

source

the source of the characters (e.g. file name)


Create a CharacterSource from a source CharArray

Since

0.1.0

Parameters

chars

the contained chars of the CharacterSource

source

the source of the characters (e.g. file name)