virtual void SaveToStream(DewStream *Dst);
Load the component from the .NET framework Stream.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewStream * |
Examples
#include "MtxVec.h"
#include "Units.MtxVec.h"
using namespace Dew;
using namespace Dew::Math;
using namespace Dew::Math::Units::MtxVec;
void Example()
{
TVec* b;
FileStream* AStream;
CreateIt(b);
b->SetIt(false, DewArray<double>{0,0,1,3,2});
AStream = new FileStream("test.Vec", FileMode::Create);
b->SaveToStream(AStream); // Write info and header for b
delete AStream;
FreeIt(b);
}
Declared in Dew::Math::TMtxVecBase · Dew.Math/MtxVecBase.h · Cross-compiler