Hello all,

is there a way to do an io.write  _with a certain buffer size_ ?

I need to do the same as somebody else did in TcL like this:

fconfigure $file -buffersize 16  -buffering none -encoding binary
-translation binary

puts -nonewline $file [binary format "h*" $string]


Thanks 

Axel

OS: Linux
Ruby 1.8.4