Sha256: b39efa97fdb2df2d38ddf33be84f4773f9b5e38cdb30bb6684dea628b9de964c

Contents?: true

Size: 1.24 KB

Versions: 11

Compression:

Stored size: 1.24 KB

Contents

class Wx::InputStream

  # @overload read(size)
  #   Reads max size bytes from stream.
  #   @param [Integer] size max number of bytes to read
  #   @return [String,nil] string with bytes read (nil if none read)
  # @overload read(output)
  #   Reads bytes from stream and writes these to output stream until eof or error.
  #   @param [IO,Wx::OutputStream] output output stream to write to
  #   @return [self]
  def read(*args); end

  #   Reads size bytes from stream (until eof or error).
  #   @param [Integer] size number of bytes to read
  #   @return [String,nil] string with bytes read (nil if none read)
  def read_all(size); end

end

class Wx::OutputStream

  # @overload write(buffer)
  #   Writes some or all bytes from buffer to stream.
  #   @param [String] buffer string with bytes to write
  #   @return [Integer] number of bytes written
  # @overload write(input)
  #   Write bytes read from input stream (until eof or error)
  #   @param [IO,Wx::InputStream] input input stream to read from
  #   @return [self]
  def write(*args); end

  # Writes bytes from buffer to stream.
  # @param [String] buffer string with bytes to write
  # @return [Integer] number of bytes written
  def write_all(buffer); end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3-x64-mingw-ucrt lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/doc/stream.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/doc/stream.rb