note
	description: "Serialize/Deserialize data from a medium."
	legal: "See notice at end of class."
	status: "See notice at end of class."
	date: "$Date: 2010-02-22 18:14:01 +0000 (Mon, 22 Feb 2010) $"
	revision: "$Revision: 82390 $"

class interface
	SED_MEDIUM_READER_WRITER_1

create 
	make,
	make_with_buffer

feature -- Header/Footer

	read_header
			-- Retrieve configuration of how data was stored.
		ensure then
			buffer_position_reset: buffer_position = 0

	write_header
			-- Store configuration on how data will be stored.
		ensure then
			buffer_position_reset: buffer_position = 0

	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?
	
invariant
	medium_not_void: medium /= Void

note
	library: "EiffelBase: Library of reusable components for Eiffel."
	copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	source: "[
		Eiffel Software
		356 Storke Road, 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_1

Generated by ISE EiffelStudio