Beispiel #1
0
        public static FsbClass1 smethod_1(Stream stream1, byte[] byte1)
        {
            var @class = new FsbClass1();

            @class.method_1(new FsbClass2(stream1, byte1));
            @class.Byte0    = byte1;
            @class._stream0 = stream1;
            return(@class);
        }
Beispiel #2
0
        public static FsbClass1 smethod_0(Stream stream1)
        {
            var @class   = new FsbClass1();
            var position = stream1.Position;

            try
            {
                @class.method_1(stream1);
            }
            catch
            {
                stream1.Position = position;
                var stream = new FsbClass2(stream1);
                @class = new FsbClass1();
                @class.method_1(stream);
                @class.Byte0 = stream.Byte0;
            }
            @class._stream0 = stream1;
            return(@class);
        }