2017-04-02 00:36:06 +00:00
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
namespace SharpCifs.Util.Sharpen
|
|
|
|
{
|
|
|
|
internal class ObjectOutputStream : OutputStream
|
2017-06-21 06:46:57 +00:00
|
|
|
{
|
|
|
|
private BinaryWriter _bw;
|
2017-04-02 00:36:06 +00:00
|
|
|
|
2017-06-21 06:46:57 +00:00
|
|
|
public ObjectOutputStream(OutputStream os)
|
|
|
|
{
|
|
|
|
_bw = new BinaryWriter(os.GetWrappedStream());
|
|
|
|
}
|
2017-04-02 00:36:06 +00:00
|
|
|
|
2017-06-21 06:46:57 +00:00
|
|
|
public virtual void WriteInt(int i)
|
|
|
|
{
|
|
|
|
_bw.Write(i);
|
|
|
|
}
|
|
|
|
}
|
2017-04-02 00:36:06 +00:00
|
|
|
}
|