IronRuby.Builtins.RubyIOOps.SysWrite C# (CSharp) Method

SysWrite() private method

private SysWrite ( BinaryOpStorage writeStorage, ConversionStorage tosConversion, RubyContext context, RubyIO self, [ val ) : int
writeStorage BinaryOpStorage
tosConversion ConversionStorage
context RubyContext
self RubyIO
val [
return int
        public static int SysWrite(BinaryOpStorage/*!*/ writeStorage, ConversionStorage<MutableString>/*!*/ tosConversion,
            RubyContext/*!*/ context, RubyIO/*!*/ self, [NotNull]MutableString/*!*/ val) {

            RubyBufferedStream stream = self.GetWritableStream();
            if (stream.DataBuffered) {
                PrintOps.ReportWarning(writeStorage, tosConversion, MutableString.CreateAscii("syswrite for buffered IO"));
            }
            int bytes = Write(self, val);
            self.Flush();
            return bytes;
        }

Same methods

RubyIOOps::SysWrite ( BinaryOpStorage writeStorage, ConversionStorage tosConversion, RubyContext context, RubyIO self, object obj ) : int