jellyfin-server/Emby.Common.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
{
private BinaryWriter _bw;
public ObjectOutputStream (OutputStream os)
{
_bw = new BinaryWriter (os.GetWrappedStream ());
}
public virtual void WriteInt (int i)
{
_bw.Write (i);
}
}
}