Alexandria.Engines.Creation.RecordReader.RequireMinimumFieldSize C# (CSharp) Метод

RequireMinimumFieldSize() публичный Метод

public RequireMinimumFieldSize ( int bytes ) : void
bytes int
Результат void
        public void RequireMinimumFieldSize(int bytes)
        {
            if (field.Size < bytes)
                throw new InvalidDataException("The " + FieldName + " must be at least " + bytes + " byte(s) long, not " + field.Size + ".");
        }