mirror of
https://github.com/status-im/nim-eth.git
synced 2025-01-10 14:25:50 +00:00
df6020832b
* Build fuzzing tests in CI and fix current fuzzing tests * Build fuzzing tests separately (fix Windows CI)
9 lines
147 B
Nim
9 lines
147 B
Nim
import
|
|
std/streams
|
|
|
|
proc toFile*(data: seq[byte], fn: string) =
|
|
var s = newFileStream(fn, fmWrite)
|
|
for x in data:
|
|
s.write(x)
|
|
s.close()
|