FOSCStream

Copyright Epic Games, Inc. All Rights Reserved.

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public function

FOSCStream()

Public function

FOSCStream

(
    const uint8* InData,
    int32 InSize
)

Functions

Name Description

Public function Const

const uint8 ...

 

GetData()

Returns the stream buffer data

Public function Const

int32

 

GetLength()

Returns the stream's length

Public function Const

int32

 

GetPosition()

Get current stream position.

Public function Const

bool

 

HasReachedEnd()

Returns true if stream has reached the end, false if not

Public function

TArray< uint...

 

ReadBlob()

Read blob from the stream

Public function

TCHAR

 

ReadChar()

Read Char from the stream

Public function

FColor

 

ReadColor()

Read Color from the stream

Public function

double

 

ReadDouble()

Read Double from the stream

Public function

float

 

ReadFloat()

Read Float from the stream

Public function

int32

 

ReadInt32()

Read Int32 from the stream

Public function

int64

 

ReadInt64()

Read Int64 from the stream

Public function

FString

 

ReadString()

Read String from the stream

Public function

uint64

 

ReadUInt64()

Read UInt64 from the stream

Public function

void

 

SetPosition

(
    int32 InPosition
)

Set stream position.

Public function

void

 

WriteBlob

(
    TArray< uint8 >& Blob
)

Write blob into the stream

Public function

void

 

WriteChar

(
    TCHAR Char
)

Write an ansi char into the stream

Public function

void

 

WriteColor

(
    FColor Color
)

Write Color into the stream

Public function

void

 

WriteDouble

(
    uint64 Value
)

Write Double into the stream

Public function

void

 

WriteFloat

(
    float Value
)

Write Int64 into the stream

Public function

void

 

WriteInt32

(
    int32 Value
)

Write Int32 into the stream

Public function

void

 

WriteInt64

(
    int64 Value
)

Write Int64 into the stream

Public function

void

 

WriteString

(
    const FString& String
)

Write String into the stream

Public function

void

 

WriteUInt64

(
    uint64 Value
)

Write UInt64 into the stream