Click or drag to resize
AnimalDeserializeAnimal Method

This method should be overridden by any class inheriting from Animal. This method is called with a MemoryStream that the user can read any data from that was written during the call to SerializeAnimal.

Care should be taken when reading from a MemoryStream since the values may have been truncated at 8000bytes if more than 8000bytes were originally written.

Namespace: Terrarium.Sdk.Classes.Creature
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public abstract void DeserializeAnimal(
	MemoryStream m
)

Parameters

m
Type: System.IOMemoryStream
MemoryStream used by the creature to deserialize data.
See Also