View Source ExMP4.Write behaviour (MP4 Reader and Writer v0.1.0)
A behaviour defining how to write data to a destination
Summary
Callbacks
Close the input stream.
Open the provided input in write mode
Seek and write from the input stream.
Seek to the provided position in the stream
Write the data
Types
Callbacks
@callback close(state()) :: :ok
Close the input stream.
Open the provided input in write mode
The returned state
will be the first argument on the other callbacks
Seek and write from the input stream.
Some stream may have optimised way of seeking and reading at the same time as the case for :file
Seek to the provided position in the stream
Write the data