jellyfin-server/Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/ObjectOutputStream.cs
2017-06-21 02:46:57 -04:00

20 lines
376 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);
}
}
}