Jan. 10, 2012
2:26 a.m.
But what if count makes handle pass over the end of the file? -- Cesar Rabak Em 07/01/2012 10:10, Mariano Martinez Peck < marianopeck@gmail.com > escreveu: FSReadStream >> next: count | result | result := ByteArray new: count. handle at: position read: result startingAt: 1 count: count. position := position + 1. ^ result shouldn't be FSReadStream >> next: count | result | result := ByteArray new: count. handle at: position read: result startingAt: 1 count: count. position := position + count. ^ result At least with that (among some extensions) Fuel tests pass with FS :) Cheers -- Mariano http://marianopeck.wordpress.com