/*** Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: IBufferedStreamAvailable.hpp Date: 2022-6-20 Author: Reece ***/ #pragma once namespace Aurora::IO { struct IIOPipeInterceptor; AUKN_INTERFACE(IIOBufferedStreamAvailable, /** * @brief * @return false restores the read head, will retrieve further callbacks * true nothing */ AUI_METHOD(bool, OnDataAvailable, (Memory::ByteBuffer &, view)) ); }