Navigation
API > API/Plugins > API/Plugins/OSC
| Name | FStream |
| Type | class |
| Header File | /Engine/Plugins/Runtime/OSC/Source/OSC/Public/OSCStream.h |
| Include Path | #include "OSCStream.h" |
Syntax
class FStream
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStream
(
const uint8* InData, |
OSCStream.h | ||
FStream () |
OSCStream.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsReadStream | bool | Whether stream is used to read (true) or write (false) | OSCStream.h | |
| Data | TArray< uint8 > | Stream data. | OSCStream.h | |
| Position | int32 | Current buffer position. | OSCStream.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const uint8 * GetData() |
Returns the stream buffer data | OSCStream.h | |
int32 GetLength() |
Returns the stream's length | OSCStream.h | |
int32 GetPosition() |
Get current stream position. | OSCStream.h | |
bool HasReachedEnd() |
Returns true if stream has reached the end, false if not | OSCStream.h | |
TArray< uint8 > ReadBlob() |
Read blob from the stream | OSCStream.h | |
TCHAR ReadChar() |
Read Char from the stream | OSCStream.h | |
FColor ReadColor() |
Read Color from the stream | OSCStream.h | |
double ReadDouble() |
Read Double from the stream | OSCStream.h | |
float ReadFloat() |
Read Float from the stream | OSCStream.h | |
int32 ReadInt32() |
Read Int32 from the stream | OSCStream.h | |
int64 ReadInt64() |
Read Int64 from the stream | OSCStream.h | |
FString ReadString() |
Read String from the stream | OSCStream.h | |
uint64 ReadUInt64() |
Read UInt64 from the stream | OSCStream.h | |
void SetPosition
(
int32 InPosition |
Set stream position. | OSCStream.h | |
void WriteBlob
(
TArray< uint8 >& Blob |
Write blob into the stream | OSCStream.h | |
void WriteChar
(
TCHAR Char |
Write an ansi char into the stream | OSCStream.h | |
void WriteColor
(
FColor Color |
Write Color into the stream | OSCStream.h | |
void WriteDouble
(
uint64 Value |
Write Double into the stream | OSCStream.h | |
void WriteFloat
(
float Value |
Write Int64 into the stream | OSCStream.h | |
void WriteInt32
(
int32 Value |
Write Int32 into the stream | OSCStream.h | |
void WriteInt64
(
int64 Value |
Write Int64 into the stream | OSCStream.h | |
void WriteString
(
const FString& String |
Write String into the stream | OSCStream.h | |
void WriteUInt64
(
uint64 Value |
Write UInt64 into the stream | OSCStream.h |