Codebase list ruby-fxruby / 3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a rdoc-sources / FXFileStream.rb
3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a

Tree @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a (Download .tar.gz)

FXFileStream.rb @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2araw · history · blame

module Fox
  # File Store Definition
  class FXFileStream < FXStream

    attr_reader :position

    #
    # Return an initialized FXFileStream instance.
    #
    def initialize(cont=nil) # :yields: theFileStream
    end

    #
    # Open binary data file stream; allocate a buffer of the given _size_
    # for the file I/O; the buffer must be at least 16 bytes. Returns
    # +true+ on success, +false+ on failure.
    #
    # ==== Parameters:
    #
    # +filename+:: name of the file to open [String]
    # +save_or_load+:: access mode, either +FXStreamSave+ or +FXStreamLoad+ [Integer]
    # +size+::  buffer size [Integer]
    #
    def open(filename, save_or_load, size=8192); end
  end
end