20 lines
319 B
C#
20 lines
319 B
C#
|
namespace SharpCifs.Util.Sharpen
|
||
|
{
|
||
|
internal class CharBuffer : CharSequence
|
||
|
{
|
||
|
internal string Wrapped;
|
||
|
|
||
|
public override string ToString ()
|
||
|
{
|
||
|
return Wrapped;
|
||
|
}
|
||
|
|
||
|
public static CharBuffer Wrap (string str)
|
||
|
{
|
||
|
CharBuffer buffer = new CharBuffer ();
|
||
|
buffer.Wrapped = str;
|
||
|
return buffer;
|
||
|
}
|
||
|
}
|
||
|
}
|