IChunker class

Constructors

IChunker.new({int maxChunkSize = 500, int maxPostOverlap = 200})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxChunkSize int
final
maxPostOverlap int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

chunkByteStream(Stream<List<int>> stream) Stream<IChunk>
chunkString(String str) Stream<IChunk>
chunkStringStream(Stream<String> str) Stream<IChunk>
chunkTextFile(File file) Stream<IChunk>
distillChunks({required Stream<IChunk> chunks, required IDistiller distiller, int parallelism = 8, int factor = 3}) Stream<IChunk>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reChunk(Stream<IChunk> chunks) Stream<IChunk>
recursiveDistillChunks({required Stream<IChunk> chunks, required IDistiller distiller, int parallelism = 8, int factor = 3, bool isBase = true}) Stream<IChunk>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited