OpenHome.Git.Pack.ReadObject C# (CSharp) Method

ReadObject() static private method

static private ReadObject ( BinaryReader aReader, int aType, long aLength ) : Object
aReader System.IO.BinaryReader
aType int
aLength long
return Object
        internal static Object ReadObject(BinaryReader aReader, int aType, long aLength)
        {
            byte[] bytes = Inflate(aReader, aLength);

            return (new Object((EObjectType)aType, bytes));
        }