clarified spec

This commit is contained in:
Davis King 2012-07-15 14:18:43 -04:00
parent d13c84fba0
commit 55c7d8e1c1
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@
ensures
- #item == a deserialized copy of the serializable_type that was
in the input stream in.
- Reads all the bytes associated with the serialized serializable_type
contained inside the input stream and no more. This means you
can serialize multiple objects to an output stream and then read
them all back in, one after another, using deserialize().
- if (serializable_type implements the enumerable interface) then
- item.at_start() == true
throws