IMemoryReadStream

Represents a block of memory, but abstracts away the underlying layout

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/MemoryReadStream.h

Include

#include "Misc/MemoryReadStream.h"

Syntax

class IMemoryReadStream

Remarks

Represents a block of memory, but abstracts away the underlying layout

Destructors

Name Description

Protected function Virtual

~IMemoryReadStream()

Functions

Name Description

Public function Const

uint32

 

AddRef()

Public function Virtual

void

 

CopyTo

(
    void* Buffer,
    int64 InOffset,
    int64 InSize
)

Public function Static

TRefCountPtr...

 

CreateFromBuffer

(
    void* InMemory,
    int64 InSize,
    bool bOwnPointer
)

Public function Static

TRefCountPtr...

 

CreateFromCopy

(
    IMemoryReadStream* InStream
)

Public function Static

TRefCountPtr...

 

CreateFromCopy

(
    const void* InMemory,
    int64 InSize
)

Public function Const

uint32

 

GetRefCount()

Public function

int64

 

GetSize()

Public function

const void &...

 

Read

(
    int64& OutSize,
    int64 InOffset,
    int64 InSize
)

Public function Const

uint32

 

Release()

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