jellyfin/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/CharBuffer.cs

20 lines
319 B
C#
Raw Normal View History

2017-04-01 17:36:06 -07:00
namespace SharpCifs.Util.Sharpen
{
internal class CharBuffer : CharSequence
2017-07-07 20:12:21 -07:00
{
internal string Wrapped;
2017-04-01 17:36:06 -07:00
2017-07-07 20:12:21 -07:00
public override string ToString ()
{
return Wrapped;
}
2017-04-01 17:36:06 -07:00
2017-07-07 20:12:21 -07:00
public static CharBuffer Wrap (string str)
{
CharBuffer buffer = new CharBuffer ();
buffer.Wrapped = str;
return buffer;
}
}
2017-04-01 17:36:06 -07:00
}