mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
20 lines
315 B
C#
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);
|
|
}
|
|
}
|
|
}
|