20 #ifndef MPD_ASYNC_INPUT_STREAM_HXX
21 #define MPD_ASYNC_INPUT_STREAM_HXX
37 enum class SeekState : uint8_t {
47 const size_t resume_at;
89 size_t Read(
void *ptr,
size_t read_size) final;
133 return buffer.
Write();
171 void DeferredResume();
The meta information about a song file.
Automatic huge memory allocation management.
Range Write()
Prepares writing.
constexpr size_type GetSpace() const
Returns the number of elements that can be added to this buffer.
constexpr bool IsFull() const
constexpr bool IsEmpty() const
uint64_t offset_type
A type for absolute offsets in a file.
Invoke a method call in the EventLoop.