protected INode DecodeFormat(BinaryReader input, TagType tag, int length)
        {
            var end = input.BaseStream.Position + length;

            var arg1 = DecodeExpression(input);
            var arg2 = new Nodes.StaticByteArray(input.ReadBytes((int)(end - input.BaseStream.Position)));

            return(new Nodes.GenericElement(tag, null, arg1, arg2));
        }
示例#2
0
        protected INode DecodeFormat(BinaryReader input, TagType tag, int length)
        {
            var end = input.BaseStream.Position + length;

            var arg1 = DecodeExpression(input);
            var arg2 = new Nodes.StaticByteArray(input.ReadBytes((int)(end - input.BaseStream.Position)));
            return new Nodes.GenericElement(tag, null, arg1, arg2);
        }