public static string GetString([NotNull] this Directory directory, int tagType, [NotNull] Encoding encoding)
        {
            var bytes = directory.GetByteArray(tagType);

            return(bytes == null
                ? null
                : encoding.GetString(bytes, 0, bytes.Length));
        }
示例#2
0
        public static string GetString(this Directory directory, int tagType, Encoding encoding)
        {
            var bytes = directory.GetByteArray(tagType);

            return(bytes == null
                ? null
                : encoding.GetString(bytes));
        }