Package org.jruby.runtime.marshal
Class MarshalStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.jruby.runtime.marshal.MarshalStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
Marshals objects into Ruby's binary marshal format.
- Author:
- Anders
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
ConstructorsConstructorDescriptionMarshalStream(Ruby runtime, OutputStream out, int depthLimit) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoiddumpDefaultObjectHeader(char tp, RubyClass type) Deprecated.voidDeprecated.voiddumpDefaultObjectHeader(ThreadContext context, char tp, RubyClass type) Deprecated, for removal: This API element is subject to removal in a future version.voiddumpDefaultObjectHeader(ThreadContext context, RubyClass type) Deprecated, for removal: This API element is subject to removal in a future version.voiddumpObject(IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.voiddumpSymbol(ByteList value) Deprecated, for removal: This API element is subject to removal in a future version.voiddumpVariables(List<Variable<Object>> vars) Deprecated, for removal: This API element is subject to removal in a future version.voiddumpVariablesWithEncoding(List<Variable<Object>> vars, IRubyObject obj) Deprecated, for removal: This API element is subject to removal in a future version.static StringgetPathFromClass(RubyModule clazz) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated.booleanDeprecated.voidregisterLinkTarget(IRubyObject newObject) Deprecated.voidregisterLinkTarget(ThreadContext context, IRubyObject newObject) Deprecated, for removal: This API element is subject to removal in a future version.voidregisterSymbol(ByteList sym) Deprecated, for removal: This API element is subject to removal in a future version.voiduserMarshal(IRubyObject value) Deprecated.voiduserMarshal(IRubyObject value, CacheEntry entry) Deprecated.voiduserMarshal(ThreadContext context, IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.voiduserMarshal(ThreadContext context, IRubyObject value, CacheEntry entry) Deprecated, for removal: This API element is subject to removal in a future version.voiduserNewMarshal(IRubyObject value) Deprecated.voiduserNewMarshal(IRubyObject value, CacheEntry entry) Deprecated.voiduserNewMarshal(ThreadContext context, IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.voiduserNewMarshal(ThreadContext context, IRubyObject value, CacheEntry entry) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteByte(int value) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteDirectly(IRubyObject value) Deprecated.voidwriteDirectly(ThreadContext context, IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteEncoding(org.jcodings.Encoding encoding) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteEncoding(ThreadContext context, org.jcodings.Encoding encoding) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteInt(int value) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteString(String value) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteString(ByteList value) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteUserClass(IRubyObject obj, RubyClass type) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
MarshalStream
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
-
Method Details
-
dumpObject
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
registerLinkTarget
Deprecated. -
registerLinkTarget
Deprecated, for removal: This API element is subject to removal in a future version. -
registerSymbol
Deprecated, for removal: This API element is subject to removal in a future version. -
writeDirectly
Deprecated.- Throws:
IOException
-
writeDirectly
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
getPathFromClass
Deprecated, for removal: This API element is subject to removal in a future version. -
userNewMarshal
@Deprecated(since="10.0") public void userNewMarshal(IRubyObject value, CacheEntry entry) throws IOException Deprecated.- Throws:
IOException
-
userNewMarshal
public void userNewMarshal(ThreadContext context, IRubyObject value, CacheEntry entry) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
userNewMarshal
Deprecated.- Throws:
IOException
-
userNewMarshal
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
userMarshal
@Deprecated(since="10.0") public void userMarshal(IRubyObject value, CacheEntry entry) throws IOException Deprecated.- Throws:
IOException
-
userMarshal
public void userMarshal(ThreadContext context, IRubyObject value, CacheEntry entry) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
userMarshal
Deprecated.- Throws:
IOException
-
userMarshal
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeUserClass
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpVariablesWithEncoding
public void dumpVariablesWithEncoding(List<Variable<Object>> vars, IRubyObject obj) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpVariables
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeEncoding
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeEncoding
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpDefaultObjectHeader
Deprecated.- Throws:
IOException
-
dumpDefaultObjectHeader
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpDefaultObjectHeader
@Deprecated(since="10.0") public void dumpDefaultObjectHeader(char tp, RubyClass type) throws IOException Deprecated.- Throws:
IOException
-
dumpDefaultObjectHeader
public void dumpDefaultObjectHeader(ThreadContext context, char tp, RubyClass type) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeString
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeString
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpSymbol
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeInt
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeByte
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
isTainted
Deprecated. -
isUntrusted
Deprecated.
-