From f150a706cfbe07ba0ebbfb6fdd904ff454ad7c60 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 11 Jul 2023 21:51:35 +0200 Subject: decoderstream: remove unused function --- src/encoding/decoderstream.nim | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/encoding/decoderstream.nim') 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 -- cgit 1.4.1-2-gfad0