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.
26 lines
410 B
26 lines
410 B
8 years ago
|
using System;
|
||
|
using System.IO;
|
||
|
|
||
|
namespace SharpCifs.Util.Sharpen
|
||
|
{
|
||
|
internal class ObjectInputStream : InputStream
|
||
8 years ago
|
{
|
||
|
private BinaryReader _reader;
|
||
8 years ago
|
|
||
8 years ago
|
public ObjectInputStream (InputStream s)
|
||
|
{
|
||
|
_reader = new BinaryReader (s.GetWrappedStream ());
|
||
|
}
|
||
8 years ago
|
|
||
8 years ago
|
public int ReadInt ()
|
||
|
{
|
||
|
return _reader.ReadInt32 ();
|
||
|
}
|
||
8 years ago
|
|
||
8 years ago
|
public object ReadObject ()
|
||
|
{
|
||
|
throw new NotImplementedException ();
|
||
|
}
|
||
|
}
|
||
8 years ago
|
}
|