This commit is contained in:
Dmitriy Ryajov 2024-02-01 18:59:53 -06:00
parent ff59c45a51
commit 0a9af5ceff
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
1 changed files with 12 additions and 15 deletions

View File

@ -63,8 +63,7 @@ proc new*(
T: type Chunker, T: type Chunker,
reader: Reader, reader: Reader,
chunkSize = DefaultChunkSize, chunkSize = DefaultChunkSize,
pad = true pad = true): Chunker =
): Chunker =
## create a new Chunker instance ## create a new Chunker instance
## ##
Chunker( Chunker(
@ -77,8 +76,7 @@ proc new*(
T: type LPStreamChunker, T: type LPStreamChunker,
stream: LPStream, stream: LPStream,
chunkSize = DefaultChunkSize, chunkSize = DefaultChunkSize,
pad = true pad = true): LPStreamChunker =
): LPStreamChunker =
## create the default File chunker ## create the default File chunker
## ##
@ -105,8 +103,7 @@ proc new*(
T: type FileChunker, T: type FileChunker,
file: File, file: File,
chunkSize = DefaultChunkSize, chunkSize = DefaultChunkSize,
pad = true pad = true): FileChunker =
): FileChunker =
## create the default File chunker ## create the default File chunker
## ##