TRingBuffer::Peek

Get the next data word from the FIFO buffer without removing it.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Online/BuildPatchServices/Private/Core/RingBuffer.h

Include

#include "Core/RingBuffer.h"

Syntax

bool Peek
(
    DataType & ValOut
) const

Remarks

Get the next data word from the FIFO buffer without removing it.

Returns

true if the buffer was not empty, false otherwise.

Parameters

Parameter

Description

OUT

ValOut The variable to receive the data word

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss