From: Run Paint Run Run Date: 2010-03-05T23:23:48+09:00 Subject: [ruby-core:28507] Re: [Feature #1081] add File::write() convenience method Is it intended that the length of the leading nulls are not included in the return value? I assumed the second line in the example below would return 3. >> File.delete('/tmp/glark') #=> 1 >> File.write('/tmp/glark','s',2) #=> 1 >> File.read('/tmp/glark') #=> "\u0000\u0000s"