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

20 lines
315 B
C#
Raw Normal View History

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