UNetConnection::WriteBitsToSendBufferInternal

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

Choose your operating system:

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.