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)); }
public static string GetString(this Directory directory, int tagType, Encoding encoding) { var bytes = directory.GetByteArray(tagType); return(bytes == null ? null : encoding.GetString(bytes)); }