You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
315 B
20 lines
315 B
8 years ago
|
using System.IO;
|
||
|
|
||
|
namespace SharpCifs.Util.Sharpen
|
||
|
{
|
||
|
internal class ObjectOutputStream : OutputStream
|
||
8 years ago
|
{
|
||
|
private BinaryWriter _bw;
|
||
8 years ago
|
|
||
8 years ago
|
public ObjectOutputStream (OutputStream os)
|
||
|
{
|
||
|
_bw = new BinaryWriter (os.GetWrappedStream ());
|
||
|
}
|
||
8 years ago
|
|
||
8 years ago
|
public virtual void WriteInt (int i)
|
||
|
{
|
||
|
_bw.Write (i);
|
||
|
}
|
||
|
}
|
||
8 years ago
|
}
|