C# Class NekoKun.Serialization.RubyMarshal.RubyMarshalWriter

Afficher le fichier Open project: NekoProject/NekoKun Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Dump ( object obj ) : void
obj object
Résultat void

RubyMarshalWriter() public méthode

public RubyMarshalWriter ( Stream output ) : System
output Stream
Résultat System

WriteByte() public méthode

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

WriteBytes() public méthode

public WriteBytes ( byte s ) : void
s byte
Résultat void

WriteBytes() public méthode

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

WriteCString() public méthode

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

WriteClass() public méthode

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
Résultat void

WriteEncoding() public méthode

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

WriteExtended() public méthode

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

WriteFloat() public méthode

public WriteFloat ( RubyFloat value ) : void
value RubyFloat
Résultat void

WriteFloat() public méthode

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

WriteFloat() public méthode

public WriteFloat ( float value ) : void
value float
Résultat void

WriteInstanceVariable() public méthode

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
Résultat void

WriteLong() public méthode

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

WriteNByte() public méthode

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

WriteObject() public méthode

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

WriteObjectInstanceVariable() public méthode

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

WriteSymbol() public méthode

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

WriteUnique() public méthode

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

WriteUserClass() public méthode

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