Generator.fromReader constructor
Generator.fromReader(
- BinaryReader reader
Implementation
factory Generator.fromReader(BinaryReader reader)
{
GeneratorType type = generatorTypeFromInt(reader.readUInt16());
int value = reader.readUInt16();
return Generator(type, value);
}