diff options
Diffstat (limited to 'src/encoding/decoderstream.nim')
-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 |