NativeOwnedSegmentSubmission extension

on

Properties

supportsSegmentedBuffers → bool

Available on NativeBufferAllocator, provided by the NativeOwnedSegmentSubmission extension

no setter

Methods

sendSegments(int connectionId, List<NativeOwnedBuffer> segments) → void

Available on NativeBufferAllocator, provided by the NativeOwnedSegmentSubmission extension

Queues one complete encoded frame, retaining 1–64 frozen native spans. At least one span must be nonempty. Caller handles remain valid on both success and rejection; callers may dispose them after acceptance. This copies no payload bytes and does not parse or transcode the wire encoding.
sendSegmentsTracked(int connectionId, List<NativeOwnedBuffer> segments) → NativeWriteReceipt

Available on NativeBufferAllocator, provided by the NativeOwnedSegmentSubmission extension

Reports queue acceptance and complete local write/flush, not peer delivery. Disposing the receipt does not cancel the queued frame or consume inputs.