public abstract byte GetDataStructureType();
public void addMarshaller(BaseDataStreamMarshaller marshaller) { byte type = marshaller.GetDataStructureType(); lock (this.marshalLock) { dataMarshallers[type & 0xFF] = marshaller; } }