------------------------------------------------------------------------------------------------------- AsyncReadableStream -------------------------------------------------------------------------------------------------------
| 330 | Span<char> rootWritableData = {const_cast<char*>(rootFullData.data()), rootFullData.sizeInBytes()}; |
| 331 | (void)rootWritableData.sliceStartLength(rootOffset, length, child.writableData); |
| 332 | } |
| 333 | refBuffer(rootParentID); // Increment parent's refcount |
| 334 | outChildBufferID = AsyncBufferView::ID(static_cast<AsyncBufferView::ID::NumericType>(idx)); |
| 335 | return Result(true); |
| 336 | } |
| 337 | } |
| 338 | return Result::Error(AsyncStreamsResultCategory, AsyncStreamsError::BufferPoolFull); |
| 339 | } |
| 340 | |
| 341 | //------------------------------------------------------------------------------------------------------- |
| 342 | // AsyncReadableStream |
| 343 | //------------------------------------------------------------------------------------------------------- |
| 344 | Result AsyncReadableStream::init(AsyncBuffersPool& buffersPool) |
nothing calls this directly
no test coverage detected