AuroraRuntime/Include/Aurora/IO/IOPipeCallback.hpp
Reece Wilson 07fd9f19f8 [+] NewProtocolStackFromPipe([...], bool bAutoTick)
[+] IOPipeRequestAIO::uStartOffset
[*] Fix Zstd frames being finicky
[*] Fix compression interceptor invalid weak reference to pipe that
[*] Fix WinFileStream::GetOffset using wrong enumeration
[*] Null ByteBuffer flags on init bc not all operators and constructors account for them
[will prevent bugs in the future]
2022-11-07 13:34:28 +00:00

37 lines
725 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: IIOBufferedStreamAvailable.hpp
Date: 2022-6-20
Author: Reece
***/
#pragma once
namespace Aurora::IO
{
namespace Protocol
{
struct IProtocolStack;
}
struct IIOPipeInterceptor;
struct IIOBufferedStreamAvailable;
struct IOPipeCallback
{
EPipeCallbackType type;
struct
{
AuSPtr<IIOBufferedStreamAvailable> pOnData;
} handleBufferedStream;
struct
{
AuSPtr<IIOPipeInterceptor> pIntercepter;
AuSPtr<IStreamWriter> pWriter;
bool bFlushWriter {true};
} forwardStream;
};
}