class LIBID3_BINARY_DATA_FIELD

(source code)

Description

Libid3 binary data field

note
	description: "Libid3 binary data field"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2022-11-15 19:56:05 GMT (Tuesday 15th November 2022)"
	revision: "2"

class
	LIBID3_BINARY_DATA_FIELD

inherit
	ID3_BINARY_DATA_FIELD

	LIBID3_FRAME_FIELD

create
	make

feature -- Access

	binary_data: MANAGED_POINTER
			--
		do
			create Result.share_from_pointer (cpp_data (self_ptr), cpp_data_size (self_ptr))
		end

feature -- Element change

	set_binary_data (data: MANAGED_POINTER)
			--
		do
			bytes_read := cpp_set_data (self_ptr, data.item, data.count)
		end

feature {NONE} -- Internal attributes

	bytes_read: INTEGER

feature {NONE} -- Constant

	Libid3_types: ARRAY [INTEGER]
		once
			Result := << FN_data >>
		end
end