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.IOException
T unmarshalFrom(Ruby runtime, RubyClass type, UnmarshalStream unmarshalStream) throws java.io.IOException
java.io.IOException
Copyright © 2001-2020 JRuby. All Rights Reserved.