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

20 lines
319 B
C#
Raw Normal View History

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