# Functions

DropCarriageReturn drops the final byte of the slice if it is a carriage return.
ScanDocuments returns a function that splits a stream of bytes on the given separator byte slice and whether to drop line-ending carriage returns.
ScanLines returns a function that splits a stream of bytes on the given separator character and whether to drop line-ending carriage returns.