IronRuby.Builtins.DuplexStream.Write C# (CSharp) Method

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void
        public override void Write(byte[] buffer, int offset, int count) {
            if (_writer == null) {
                throw new InvalidOperationException();
            }

            // TODO:
            Debug.Assert(_writer != null);
            _writer.Write(_writer.Encoding.GetString(buffer, offset, count));
        }
    }