jellyfin/Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/ObjectOutputStream.cs
2017-04-01 20:36:06 -04:00

20 lines
315 B
C#

using System.IO;
namespace SharpCifs.Util.Sharpen
{
internal class ObjectOutputStream : OutputStream
{
private BinaryWriter _bw;
public ObjectOutputStream (OutputStream os)
{
_bw = new BinaryWriter (os.GetWrappedStream ());
}
public virtual void WriteInt (int i)
{
_bw.Write (i);
}
}
}