projects
/
crypto_lab2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7fd3b5
)
Cleaning.
author
Ummon
<greg.burri@gmail.com>
Thu, 4 Dec 2014 21:39:25 +0000
(22:39 +0100)
committer
Ummon
<greg.burri@gmail.com>
Thu, 4 Dec 2014 21:39:25 +0000
(22:39 +0100)
labo2-fsharp/CryptoFile/API.fs
patch
|
blob
|
history
diff --git
a/labo2-fsharp/CryptoFile/API.fs
b/labo2-fsharp/CryptoFile/API.fs
index
2f80c07
..
f72395b
100644
(file)
--- a/
labo2-fsharp/CryptoFile/API.fs
+++ b/
labo2-fsharp/CryptoFile/API.fs
@@
-9,7
+9,7
@@
type internal Metadata (d: (string * string) list) =
new (stream : Stream) =
let reader = new BinaryReader (stream)
let length = reader.ReadByte () |> int
- Metadata ([for
i
in 1..length -> reader.ReadString (), reader.ReadString ()])
+ Metadata ([for
_
in 1..length -> reader.ReadString (), reader.ReadString ()])
// Write metadata to a stream.
member this.WriteTo (stream : Stream) =