aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/ObjectInputStream.cs
blob: dc3d6ccc3e63969158421d4ea8175ccaee614121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.IO;

namespace SharpCifs.Util.Sharpen
{
    internal class ObjectInputStream : InputStream
	{
		private BinaryReader _reader;

		public ObjectInputStream (InputStream s)
		{
			_reader = new BinaryReader (s.GetWrappedStream ());
		}

		public int ReadInt ()
		{
			return _reader.ReadInt32 ();
		}

		public object ReadObject ()
		{
			throw new NotImplementedException ();
		}
	}
}