class FMagesNetStream

#include <MagesNetworkClasses.h>

class FMagesNetStream
{
public:
    // fields

    bool IsWriting;
    TArray<uint8>* WriteData;

    // construction

    FMagesNetStream(TArray<uint8>* Data, bool IsWriteStream);

    // methods

    void SendNext(FVector Vector);
    void SendNext(FQuat Quaternion);
    void SendNext(uint8 Byte);
    void SendNext(uint8 Value, int Count);
    void SendNextRange(uint8* Values, int Count);
    void ReadNext(FVector& Vector);
    void ReadNext(FQuat& Quaternion);
    void ReadNext(uint8& Byte);
    void ReadNextRange(uint8* Dest, int Count);
    void ResetPayloadCount();
    uint32 GetPayloadCount();
    uint32 GetPayloadSize();
    uint32 GetReadOffset();
};