methodtQuicStreamManager.QueueSend
function QueueSend(aStreamID: UInt64; const aData: TBytes; aFin: Boolean): UInt64; overload;
Reserves peer credit and returns the first offset. The whole array and FIN succeed or fail together. Admission may retain aData without copying. The caller may release or replace its variable, but neither party may modify shared elements through any alias while retained for ACK/loss. Use independent storage for mutable reuse. Physical storage stays charged until its final fragment retires. Blockage raises local eQuicError.
function QueueSend(aStreamID: UInt64; const aData: TBytes; aDataOffset, aCount: Integer; aFin: Boolean): UInt64; overload;
Admits the complete slice and FIN atomically, returning its first stream offset. May retain the complete read-only aData allocation; neither party may mutate its elements through aliases. The caller may drop/rebind its variable. Charge the complete allocation until its last fragment retires; copy only the slice when needed to fit physical bounds. Retain for data or reset acknowledgement, retransmission or close. Empty FIN retains no backing array. Invalid slices or blocked admission raise eQuicError.