public Write ( Stream output ) : void | ||
output | Stream | The stream to write to |
Résultat | void |
public void Write(Stream output)
{
if (0 == this._numGradients)
{
Exception e = new Exception("There must be a least one MorphGradient!");
Log.Warn(this, e.Message);
}
output.WriteByte(this._numGradients);
for (int i = 0; i < this._numGradients; i++)
{
this._gradientRecords[i].Write(output);
}
}