TStringViewImpl::CopyString

Copy characters from the view into a destination buffer without null termination.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/StringView.h

Include

#include "Containers/StringView.h"

Source

/Engine/Source/Runtime/Core/Public/Containers/StringView.inl

Syntax

SizeType CopyString
(
    CharType * Dest,
    SizeType CharCount,
    SizeType Position
) const

Remarks

Copy characters from the view into a destination buffer without null termination.

Returns

The number of characters written to the destination buffer.

Parameters

Parameter

Description

Dest

Buffer to write into. Must have space for at least CharCount characters.

CharCount

The maximum number of characters to copy.

Position

The offset into the view from which to start copying.

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