summary refs log blame commit diff stats
path: root/tests/stdlib/tmemslices.nim
blob: 951807cc4f075c8b372262c6015c230a0990b9c3 (plain) (tree)
1
2
3
4
5
6



                                     
                          
          
import memfiles
var inp = memfiles.open("readme.txt")
for mem in memSlices(inp):
  if mem.size > 3:
    echo("#" & $mem & "#")
close(inp)