public interface ObjectMarshal<T>
| Modifier and Type | Field and Description |
|---|---|
static ObjectMarshal |
NOT_MARSHALABLE_MARSHAL |
| Modifier and Type | Method and Description |
|---|---|
void |
marshalTo(Ruby runtime,
T obj,
RubyClass type,
MarshalStream marshalStream) |
T |
unmarshalFrom(Ruby runtime,
RubyClass type,
UnmarshalStream unmarshalStream) |
static final ObjectMarshal NOT_MARSHALABLE_MARSHAL
void marshalTo(Ruby runtime, T obj, RubyClass type, MarshalStream marshalStream) throws java.io.IOException
java.io.IOExceptionT unmarshalFrom(Ruby runtime, RubyClass type, UnmarshalStream unmarshalStream) throws java.io.IOException
java.io.IOExceptionCopyright © 2001-2021 JRuby. All Rights Reserved.