C# Class NekoKun.Serialization.RubyMarshal.RubyMarshalWriter

ファイルを表示 Open project: NekoProject/NekoKun Class Usage Examples

Public Methods

Method Description
Dump ( object obj ) : void
RubyMarshalWriter ( Stream output ) : System
WriteByte ( byte c ) : void

static void w_byte(char c, struct dump_arg *arg)

WriteBytes ( byte s ) : void
WriteBytes ( byte s, int n ) : void

static void w_bytes(const char *s, long n, struct dump_arg *arg)

WriteCString ( string s ) : void

//#define w_cstr(s, arg) w_bytes((s), strlen(s), (arg))

WriteClass ( byte type, object obj, bool check ) : void

static void w_class(char type, VALUE obj, struct dump_arg *arg, int check)

WriteEncoding ( object obj, int num ) : void

static void w_encoding(VALUE obj, long num, struct dump_call_arg *arg)

WriteExtended ( object klass, bool check ) : void

static void w_extended(VALUE klass, struct dump_arg *arg, int check)

WriteFloat ( RubyFloat value ) : void
WriteFloat ( double value ) : void

static void w_float(double d, struct dump_arg *arg)

WriteFloat ( float value ) : void
WriteInstanceVariable ( RubyObject obj, object>.Dictionary tbl ) : void

static void w_ivar(VALUE obj, st_table *tbl, struct dump_call_arg *arg)

WriteLong ( int value ) : void

static void w_long(long x, struct dump_arg *arg)

WriteNByte ( byte s, int n ) : void

static void w_nbyte(const char *s, long n, struct dump_arg *arg)

WriteObject ( object obj ) : void

static void w_object(VALUE obj, struct dump_arg *arg, int limit)

WriteObjectInstanceVariable ( RubyObject obj ) : void

static void w_objivar(VALUE obj, struct dump_call_arg *arg)

WriteSymbol ( RubySymbol id ) : void

static void w_symbol(ID id, struct dump_arg *arg)

WriteUnique ( RubySymbol s ) : void

static void w_unique(VALUE s, struct dump_arg *arg)

WriteUserClass ( object obj, RubyClass super ) : void

static void w_uclass(VALUE obj, VALUE super, struct dump_arg *arg)

Method Details

Dump() public method

public Dump ( object obj ) : void
obj object
return void

RubyMarshalWriter() public method

public RubyMarshalWriter ( Stream output ) : System
output Stream
return System

WriteByte() public method

static void w_byte(char c, struct dump_arg *arg)
public WriteByte ( byte c ) : void
c byte
return void

WriteBytes() public method

public WriteBytes ( byte s ) : void
s byte
return void

WriteBytes() public method

static void w_bytes(const char *s, long n, struct dump_arg *arg)
public WriteBytes ( byte s, int n ) : void
s byte
n int
return void

WriteCString() public method

//#define w_cstr(s, arg) w_bytes((s), strlen(s), (arg))
public WriteCString ( string s ) : void
s string
return void

WriteClass() public method

static void w_class(char type, VALUE obj, struct dump_arg *arg, int check)
public WriteClass ( byte type, object obj, bool check ) : void
type byte
obj object
check bool
return void

WriteEncoding() public method

static void w_encoding(VALUE obj, long num, struct dump_call_arg *arg)
public WriteEncoding ( object obj, int num ) : void
obj object
num int
return void

WriteExtended() public method

static void w_extended(VALUE klass, struct dump_arg *arg, int check)
public WriteExtended ( object klass, bool check ) : void
klass object
check bool
return void

WriteFloat() public method

public WriteFloat ( RubyFloat value ) : void
value RubyFloat
return void

WriteFloat() public method

static void w_float(double d, struct dump_arg *arg)
public WriteFloat ( double value ) : void
value double
return void

WriteFloat() public method

public WriteFloat ( float value ) : void
value float
return void

WriteInstanceVariable() public method

static void w_ivar(VALUE obj, st_table *tbl, struct dump_call_arg *arg)
public WriteInstanceVariable ( RubyObject obj, object>.Dictionary tbl ) : void
obj RubyObject
tbl object>.Dictionary
return void

WriteLong() public method

static void w_long(long x, struct dump_arg *arg)
public WriteLong ( int value ) : void
value int
return void

WriteNByte() public method

static void w_nbyte(const char *s, long n, struct dump_arg *arg)
public WriteNByte ( byte s, int n ) : void
s byte
n int
return void

WriteObject() public method

static void w_object(VALUE obj, struct dump_arg *arg, int limit)
public WriteObject ( object obj ) : void
obj object
return void

WriteObjectInstanceVariable() public method

static void w_objivar(VALUE obj, struct dump_call_arg *arg)
public WriteObjectInstanceVariable ( RubyObject obj ) : void
obj RubyObject
return void

WriteSymbol() public method

static void w_symbol(ID id, struct dump_arg *arg)
public WriteSymbol ( RubySymbol id ) : void
id RubySymbol
return void

WriteUnique() public method

static void w_unique(VALUE s, struct dump_arg *arg)
public WriteUnique ( RubySymbol s ) : void
s RubySymbol
return void

WriteUserClass() public method

static void w_uclass(VALUE obj, VALUE super, struct dump_arg *arg)
public WriteUserClass ( object obj, RubyClass super ) : void
obj object
super RubyClass
return void