note
	description: "Serialize/Deserialize data from a medium."
	legal: "See notice at end of class."
	status: "See notice at end of class."
	date: "$Date: 2017-09-25 15:53:33 +0000 (Mon, 25 Sep 2017) $"
	revision: "$Revision: 100789 $"

class interface
	SED_MEDIUM_READER_WRITER

create 
	make,
	make_for_reading,
	make_for_writing,
	make_with_buffer

feature -- Header/Footer

	read_header
			-- Retrieve configuration of how data was stored.

	write_header
			-- Store configuration on how data will be stored.

	write_chunk_header
			-- Store information about chunks

	write_footer
			-- Store last buffered data.
	
feature -- Status report

	is_ready_for_reading: BOOLEAN
			-- Is Current ready for future read operations?

	is_ready_for_writing: BOOLEAN
			-- Is Current ready for future write operations?

	is_last_chunk: BOOLEAN
			-- Are we reading the last chunk?

	cleanup
			-- When a reading is stopped, perform the necessary cleanup to perform
			-- another reading or writing.
	
feature -- Access

	Reader_writer_version_6_6: NATURAL_32 = 1
			-- Version of format used for reading/writing.
	
invariant
	medium_not_void: medium /= Void

note
	library: "EiffelBase: Library of reusable components for Eiffel."
	copyright: "Copyright (c) 1984-2017, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	source: "[
		Eiffel Software
		5949 Hollister Ave., Goleta, CA 93117 USA
		Telephone 805-685-1006, Fax 805-685-6869
		Website http://www.eiffel.com
		Customer support http://support.eiffel.com
	]"

end -- class SED_MEDIUM_READER_WRITER

Generated by ISE EiffelStudio