2017-04-02 00:36:06 +00:00
|
|
|
namespace SharpCifs.Util.Sharpen
|
|
|
|
{
|
|
|
|
internal class CharBuffer : CharSequence
|
2017-06-21 06:46:57 +00:00
|
|
|
{
|
|
|
|
internal string Wrapped;
|
2017-04-02 00:36:06 +00:00
|
|
|
|
2017-06-21 06:46:57 +00:00
|
|
|
public override string ToString()
|
|
|
|
{
|
|
|
|
return Wrapped;
|
|
|
|
}
|
2017-04-02 00:36:06 +00:00
|
|
|
|
2017-06-21 06:46:57 +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
|
|
|
}
|