diff options
author | bptato <nincsnevem662@gmail.com> | 2023-07-11 21:51:35 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-07-11 21:51:35 +0200 |
commit | f150a706cfbe07ba0ebbfb6fdd904ff454ad7c60 (patch) | |
tree | b72215bfd46d4075ddefc4bcf57adda5f3774e7f /src/encoding | |
parent | 607545c800f8d2d85943fc8bf2ee246e9901f3b2 (diff) | |
download | chawan-f150a706cfbe07ba0ebbfb6fdd904ff454ad7c60.tar.gz |
decoderstream: remove unused function
Diffstat (limited to 'src/encoding')
-rw-r--r-- | src/encoding/decoderstream.nim | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/encoding/decoderstream.nim b/src/encoding/decoderstream.nim index 51feb85d..ad0138ca 100644 --- a/src/encoding/decoderstream.nim +++ b/src/encoding/decoderstream.nim @@ -809,15 +809,6 @@ proc readData*(stream: DecoderStream, buffer: pointer, olen: int): int = proc readData*(stream: DecoderStream, buf: var seq[uint32]): int = return stream.readData(addr buf[0], buf.len * sizeof(buf[0])) -proc readRunes*(stream: DecoderStream, olen: int): seq[Rune] = - when nimvm: - let s = stream.source.readStr(olen) - result = s.toRunes() - if stream.source.atEnd: - stream.isend = true - else: - assert false - proc atEnd*(stream: DecoderStream): bool = return stream.isend |