Memory Stream & ZLib compression

Code



Application output:

[1, 0, 0, 0, 97, 2, 0, 0, 0, 98, 3, 0, 0, 0, 99, 4, 0, 0, 0, 100, 1, 0, 0, 0, 97, 2, 0, 0, 0, 98, 3, 0, 0, 0, 99, 4, 0, 0, 0, 100, 1, 0, 0, 0, 97, 2, 0, 0, 0, 98, 3, 0, 0, 0, 99, 4, 0, 0, 0, 100] [120, 156, 99, 100, 96, 96, 72, 100, 2, 18, 73, 204, 64, 34, 153, 5, 72, 164, 48, 18, 41, 6, 0, 135, 12, 4, 189] Original length = 60, compressed length = 27


Application error:

std.stream.OpenException@std/stream.d(50): Cannot open or create file 'data.binary' ---------------- ----------------

Paste info


Author: Justin Whear
Views: 499
Private: no
Expires: Never
Uploaded: 25.09.12 20:08
Votes: 0

Compilation


Compiler: DMD 2.060
Pointer size: m64