Navigation
API > API/Plugins > API/Plugins/OSC
References
| Module | OSC |
| Header | /Engine/Plugins/Runtime/OSC/Source/OSC/Public/OSCStream.h |
| Include | #include "OSCStream.h" |
Syntax
class FOSCStream
Remarks
Copyright Epic Games, Inc. All Rights Reserved.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOSCStream () |
|||
FOSCStream
(
const uint8* InData, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const uint8 * | GetData () |
Returns the stream buffer data | |
| int32 | GetLength () |
Returns the stream's length | |
| int32 | GetPosition () |
Get current stream position. | |
| bool | Returns true if stream has reached the end, false if not | ||
| TArray< uint8 > | ReadBlob () |
Read blob from the stream | |
| TCHAR | ReadChar () |
Read Char from the stream | |
| FColor | ReadColor () |
Read Color from the stream | |
| double | ReadDouble () |
Read Double from the stream | |
| float | ReadFloat () |
Read Float from the stream | |
| int32 | ReadInt32 () |
Read Int32 from the stream | |
| int64 | ReadInt64 () |
Read Int64 from the stream | |
| FString | ReadString () |
Read String from the stream | |
| uint64 | ReadUInt64 () |
Read UInt64 from the stream | |
| void | SetPosition
(
int32 InPosition |
Set stream position. | |
| void | Write blob into the stream | ||
| void | WriteChar
(
TCHAR Char |
Write an ansi char into the stream | |
| void | WriteColor
(
FColor Color |
Write Color into the stream | |
| void | WriteDouble
(
uint64 Value |
Write Double into the stream | |
| void | WriteFloat
(
float Value |
Write Int64 into the stream | |
| void | WriteInt32
(
int32 Value |
Write Int32 into the stream | |
| void | WriteInt64
(
int64 Value |
Write Int64 into the stream | |
| void | WriteString
(
const FString& String |
Write String into the stream | |
| void | WriteUInt64
(
uint64 Value |
Write UInt64 into the stream |