A shorter version of ZPipeline.identity, which can facilitate more compact definition of pipelines.
A shorter version of ZPipeline.identity, which can facilitate more compact definition of pipelines.
ZPipeline[Int] >>> ZPipeline.filter(_ % 2 != 0)
A dynamic pipeline that first collects n
elements from the stream, then
creates another pipeline with the function f
and sends all the following
elements through that.
Creates a pipeline that collects elements with the specified partial function.
Creates a pipeline that collects elements with the specified partial function.
ZPipeline.collect[Option[Int], Int] { case Some(v) => v }
Creates a pipeline that decodes a stream of bytes into a stream of characters using the given charset
Creates a pipeline that decodes a stream of bytes into a stream of strings using the given charset
Creates a pipeline that drops n elements.
Creates a pipeline that drops elements until the specified predicate evaluates to true.
Creates a pipeline that drops elements until the specified predicate evaluates to true.
ZPipeline.dropUntil[Int](_ > 100)
Creates a pipeline that drops elements while the specified predicate evaluates to true.
Creates a pipeline that drops elements while the specified predicate evaluates to true.
ZPipeline.dropWhile[Int](_ <= 100)
Creates a pipeline that converts a stream of characters into a stream of bytes using the given charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the given charset
Creates a pipeline that filters elements according to the specified predicate.
Creates a pipeline that sends all the elements through the given channel.
Creates a pipeline from a chunk processing function.
Creates a pipeline that repeatedly sends all elements through the given sink.
Creates a pipeline that groups on adjacent keys, calculated by function f.
The identity pipeline, which does not modify streams in any way.
Creates a pipeline that converts a stream of bytes into a stream of strings using the ISO_8859_1 charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the ISO_8859_1 charset
Creates a pipeline that maps elements with the specified function.
Creates a pipeline that statefully maps elements with the specified function.
Creates a pipeline that statefully maps elements with the specified effect.
Creates a pipeline that maps chunks of elements with the specified function.
Creates a pipeline that maps chunks of elements with the specified effect.
Creates a pipeline that maps elements with the specified effectful function.
Emits the provided chunk before emitting any other value.
A pipeline that rechunks the stream into chunks of the specified size.
Creates a pipeline that scans elements with the specified function.
Creates a pipeline that scans elements with the specified function.
Splits strings on newlines.
Splits strings on newlines. Handles both Windows newlines (\r\n
) and UNIX
newlines (\n
).
Splits strings on a delimiter.
Splits strings on a delimiter.
Lazily constructs a pipeline.
Creates a pipeline that takes n elements.
Creates a pipeline that takes elements until the specified predicate evaluates to true.
Creates a pipeline that takes elements while the specified predicate evaluates to true.
Creates a pipeline that converts a stream of bytes into a stream of strings using the US ASCII charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the US ASCII charset
Creates a pipeline that converts a stream of bytes into a stream of strings using the UTF_16BE charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_16BE charset, without adding a BOM
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_16BE charset prefixing it with a BOM
Creates a pipeline that converts a stream of bytes into a stream of strings using the UTF_16 charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_16BE charset prefixing it with a BOM
Creates a pipeline that converts a stream of bytes into a stream of strings using the UTF_16LE charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_16LE charset, without adding a BOM
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_16LE charset prefixing it with a BOM
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_16 charset prefixing it with a BOM
Creates a pipeline that converts a stream of bytes into a stream of strings using the UTF_32BE charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_32BE charset, without adding a BOM
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_32BE charset prefixing it with a BOM
Creates a pipeline that converts a stream of bytes into a stream of strings using the UTF_32 charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_32BE charset, without adding a BOM
Creates a pipeline that converts a stream of bytes into a stream of strings using the UTF_32LE charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_32LE charset, without adding a BOM
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_32LE charset prefixing it with a BOM
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_32BE charset prefixing it with a BOM
Creates a pipeline that converts a stream of bytes into a stream of strings using the UTF_8 charset
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_8 charset, without adding a BOM
Creates a pipeline that converts a stream of strings into a stream of bytes using the UTF_8 charset prefixing it with a BOM
utfDecode determines the right encoder to use based on the Byte Order Mark (BOM).
utfDecode determines the right encoder to use based on the Byte Order Mark
(BOM). If it doesn't detect one, it defaults to utf8Decode. In the case of
utf16 and utf32 without BOM, utf16Decode
and utf32Decode
should be used
instead as both default to their own default decoder respectively.