/// <summary> /// Stream the field from a buffer /// </summary> /// <param name="er"></param> public override void Read(IO.EndianReader er) { if (this.fieldType == FieldType.ByteBlockIndex) Value = er.ReadSByte(); else if (this.fieldType == FieldType.ShortBlockIndex) Value = er.ReadInt16(); else if (this.fieldType == FieldType.LongBlockIndex) Value = er.ReadInt32(); }