UNetConnection::WriteBitsToSendBufferInternal

Write data to outgoing send buffer, PrepareWriteBitsToSendBuffer should be called before to make sure that data will fit in packet.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h

Include

#include "Engine/NetConnection.h"

Source

/Engine/Source/Runtime/Engine/Private/NetConnection.cpp

Syntax

int32 WriteBitsToSendBufferInternal
(
    const uint8 * Bits,
    const int32 SizeInBits,
    const uint8 * ExtraBits,
    const int32 ExtraSizeInBits,
    EWriteBitsDataType DataType
)

Remarks

Write data to outgoing send buffer, PrepareWriteBitsToSendBuffer should be called before to make sure that data will fit in packet.

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