/Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/DataStream/DataStream.h
Serialize data to a bitstream and optionally store record of what was serialized to a customFDataStreamRecord. TheFDataStreamRecordallow streams to implement custom delivery guarantees as they see fit by using the stored information when ProcessPacketDeliveryStatus is called. For each WriteData call returning something other than NoData a corresponding call to ProcessPacketDeliveryStatus will be made. TheUDataStreamowns theFDataStreamRecord, but there will always be a call to ProcessPacketDeliveryStatus passing the original OutRecord so that it can be deleted when all packets have been ACKed/NAKed or when the owning connection is closed.
Whether there was data written or not and if the stream has more data to write if bandwidth settings allow it.
virtual [EWriteResult](API\Runtime\IrisCore\Iris\DataStream\UDataStream\EWriteResult) WriteData ( [UE::Net::FNetSerializationContext](API\Runtime\IrisCore\Iris\Serialization\FNetSerializationContext) & Context, [FDataStreamRecord](API\Runtime\IrisCore\Iris\DataStream\FDataStreamRecord) const *& OutRecord )