Package org.jruby.runtime.marshal

Examples of org.jruby.runtime.marshal.MarshalStream


    }

    private static void dumpToStream(IRubyObject object, OutputStream rawOutput, int depthLimit)
        throws IOException
    {
        MarshalStream output = new MarshalStream(object.getRuntime(), rawOutput, depthLimit);
        output.dumpObject(object);
    }
View Full Code Here


        return new IOInputStream(in);
    }

    private static boolean[] dumpToStream(Ruby runtime, IRubyObject object, OutputStream rawOutput,
            int depthLimit) throws IOException {
        MarshalStream output = new MarshalStream(runtime, rawOutput, depthLimit);
        output.dumpObject(object);
        return new boolean[] {output.isTainted(), output.isUntrusted()};
    }
View Full Code Here

        return new IOInputStream(in);
    }

    private static boolean[] dumpToStream(Ruby runtime, IRubyObject object, OutputStream rawOutput,
            int depthLimit) throws IOException {
        MarshalStream output = new MarshalStream(runtime, rawOutput, depthLimit);
        output.dumpObject(object);
        return new boolean[] {output.isTainted(), output.isUntrusted()};
    }
View Full Code Here

        return new IOInputStream(in);
    }

    private static boolean dumpToStream(Ruby runtime, IRubyObject object, OutputStream rawOutput,
            int depthLimit) throws IOException {
        MarshalStream output = new MarshalStream(runtime, rawOutput, depthLimit);
        output.dumpObject(object);
        return output.isTainted();
    }
View Full Code Here

TOP

Related Classes of org.jruby.runtime.marshal.MarshalStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.