From: Lyes Amazouz Date: 2008-10-01T00:09:55+09:00 Subject: C fwrite equivalent in ruby ------=_Part_65161_11935828.1222787403172 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello list I want to know if there is an equivalent to the C function fwrite in ruby. Remeber that fwrite takes a buffer and a size of Bytes to write. the method "write" of the File object takes only the buffer to write as a parameter, but what I want to do is to write only an amount of bytes from this buffer, not all the buffer. Thank you! -- =========== | Lyes Amazouz | USTHB, Algiers =========== ------=_Part_65161_11935828.1222787403172--