public class MarshalStream
extends java.io.FilterOutputStream
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SYMBOL_ENCODING_SPECIAL |
Constructor and Description |
---|
MarshalStream(Ruby runtime,
java.io.OutputStream out,
int depthLimit) |
public static final java.lang.String SYMBOL_ENCODING_SPECIAL
public MarshalStream(Ruby runtime, java.io.OutputStream out, int depthLimit) throws java.io.IOException
java.io.IOException
public void dumpObject(IRubyObject value) throws java.io.IOException
java.io.IOException
public void registerLinkTarget(IRubyObject newObject)
public void registerSymbol(ByteList sym)
public void writeDirectly(IRubyObject value) throws java.io.IOException
java.io.IOException
public static java.lang.String getPathFromClass(RubyModule clazz)
public void userNewMarshal(IRubyObject value, DynamicMethod method) throws java.io.IOException
java.io.IOException
public void userNewMarshal(IRubyObject value) throws java.io.IOException
java.io.IOException
public void userMarshal(IRubyObject value, DynamicMethod method) throws java.io.IOException
java.io.IOException
public void userMarshal(IRubyObject value) throws java.io.IOException
java.io.IOException
public void writeUserClass(IRubyObject obj, RubyClass type) throws java.io.IOException
java.io.IOException
public void dumpVariablesWithEncoding(java.util.List<Variable<java.lang.Object>> vars, IRubyObject obj) throws java.io.IOException
java.io.IOException
public void dumpVariables(java.util.List<Variable<java.lang.Object>> vars) throws java.io.IOException
java.io.IOException
public void writeEncoding(org.jcodings.Encoding encoding) throws java.io.IOException
java.io.IOException
public void dumpDefaultObjectHeader(RubyClass type) throws java.io.IOException
java.io.IOException
public void dumpDefaultObjectHeader(char tp, RubyClass type) throws java.io.IOException
java.io.IOException
public void writeString(java.lang.String value) throws java.io.IOException
java.io.IOException
public void writeString(ByteList value) throws java.io.IOException
java.io.IOException
public void dumpSymbol(ByteList value) throws java.io.IOException
java.io.IOException
public void writeInt(int value) throws java.io.IOException
java.io.IOException
public void writeByte(int value) throws java.io.IOException
java.io.IOException
public boolean isTainted()
@Deprecated public boolean isUntrusted()
Copyright © 2001-2018 JRuby. All Rights Reserved.