about summary refs log tree commit diff stats
path: root/src/encoding/decoderstream.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-07-11 21:51:35 +0200
committerbptato <nincsnevem662@gmail.com>2023-07-11 21:51:35 +0200
commitf150a706cfbe07ba0ebbfb6fdd904ff454ad7c60 (patch)
treeb72215bfd46d4075ddefc4bcf57adda5f3774e7f /src/encoding/decoderstream.nim
parent607545c800f8d2d85943fc8bf2ee246e9901f3b2 (diff)
downloadchawan-f150a706cfbe07ba0ebbfb6fdd904ff454ad7c60.tar.gz
decoderstream: remove unused function
Diffstat (limited to 'src/encoding/decoderstream.nim')
-rw-r--r--src/encoding/decoderstream.nim9
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