﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fusion.Engine.Common;
using System.IO;

namespace Fusion.Core.Content {

	[ContentLoader(typeof(string))]
	public class StringLoader : ContentLoader {
		
		public override object Load ( ContentManager content, Stream stream, Type requestedType, string assetPath )
		{
			return Encoding.UTF8.GetString( stream.ReadAllBytes() );
		}
	}
}
