Sources and sinks are objects that know how to open streams.
BytesCharsReadingByteSourceCharSourceWritingByteSinkCharSink
Creating sources and sinks
Note: for all examples, consider UTF_8 as if the following import is set:
import static java.nio.charset.StandardCharsets.UTF_8;
Reading from a ...