Пример #1
0
        public static Blob FromFile(string fileName)
        {
            if (!File.Exists(fileName))
            {
                throw new FileNotFoundException("Unable to find file.", fileName);
            }

            var blob = HarfBuzzApi.hb_blob_create_from_file(fileName);

            return(new Blob(blob));
        }