Torque3D Documentation / _generateds / IOffsetOutputStream

IOffsetOutputStream

Engine/source/core/stream/tStream.h

An output stream that writes elements of type "T" to a user-specified explicit offset.

More...

Public Types

T
ElementType 
OffsetType 
Parent 

Public Functions

writeAt(OffsetType offset, const ElementType * buffer, U32 num)

Write "num" elements from "buffer" to the stream at "offset".

Detailed Description

An output stream that writes elements of type "T" to a user-specified explicit offset.

Public Types

typedef T ElementType 
typedef Offset OffsetType 
typedef void Parent 

Public Functions

writeAt(OffsetType offset, const ElementType * buffer, U32 num)

Write "num" elements from "buffer" to the stream at "offset".

Parameters:

offset

The offset in the stream at which to write the elements.

buffer

The buffer from which to read elements.

num

Number of elements to write.