public static object Each(RubyContext/*!*/ context, BlockParam block, RubyIO/*!*/ self, DynamicNull separator) { return Each(context, block, self, null, -1); }
public static MutableString/*!*/ Read(RubyIO/*!*/ self, DynamicNull bytes, [DefaultProtocol, Optional]MutableString buffer) { buffer = PrepareReadBuffer(self, buffer); self.AppendBytes(buffer, Int32.MaxValue); return buffer; }
public static object Cycle(CallSiteStorage<EachSite>/*!*/ each, BlockParam block, object self, DynamicNull iterations) { return (block != null) ? Cycle(each, block, self, Int32.MaxValue) : GetCycleEnumerator(each, block, self, Int32.MaxValue); }
public static MutableString Gets(RubyScope/*!*/ scope, RubyIO/*!*/ self, DynamicNull separator) { return Gets(scope, self, null, -1); }
public static object Each(RubyContext/*!*/ context, BlockParam block, object self, DynamicNull separator) { RubyIOOps.Each(context, block, context.InputProvider.GetOrResetCurrentStream(), separator); return self; }
public static MutableString/*!*/ Read(RubyIO/*!*/ self, DynamicNull bytes, [DefaultProtocol, Optional]MutableString buffer) { if (buffer == null) { buffer = MutableString.CreateBinary(); } else { buffer.Clear(); } self.AppendBytes(buffer, Int32.MaxValue); return buffer; }
public static MutableString ReadLine(RubyScope/*!*/ scope, object self, DynamicNull separator) { return RubyIOOps.ReadLine(scope, scope.RubyContext.InputProvider.GetOrResetCurrentStream(), separator); }
public static MutableString ToJson(DynamicNull self) { return JSON_NULL; }
public static bool op_Implicit(DynamicNull self) { Debug.Assert(self == null); return false; }
public static MutableString Read(RubyContext/*!*/ context, DynamicNull bytes, [DefaultProtocol, Optional]MutableString buffer) { return RubyIOOps.Read(context.InputProvider.GetOrResetCurrentStream(), bytes, buffer); }
public static MutableString/*!*/ SystemRead(StringIO/*!*/ self, DynamicNull bytes, [DefaultProtocol, NotNull]MutableString buffer) { return Read(self, buffer, true); }
public static RubyArray ReadLines(RubyContext/*!*/ context, StringIO/*!*/ self, DynamicNull separator) { return ReadLines(self, null, -1); }
public static object EachLine(RubyContext/*!*/ context, BlockParam block, StringIO/*!*/ self, DynamicNull separator) { return EachLine(block, self, null, -1); }
public static MutableString/*!*/ ReadLine(RubyScope/*!*/ scope, RubyIO/*!*/ self, DynamicNull separator) { return ReadLine(scope, self, null, -1); }
public static RubyArray ReadLines(RubyContext/*!*/ context, object self, DynamicNull separator) { return RubyIOOps.ReadLines(context, context.InputProvider.GetOrResetCurrentStream(), separator); }
public static RubyArray/*!*/ ReadLines(RubyContext/*!*/ context, RubyIO/*!*/ self, DynamicNull separator) { return ReadLines(context, self, null, -1); }
public static MutableString ToJson(DynamicNull self, [Optional]GeneratorState state, [Optional]Int32 depth) { return Generator.ToJson(self); }