C# 클래스 NekoKun.Serialization.RubyMarshal.RubyMarshalWriter

파일 보기 프로젝트 열기: NekoProject/NekoKun 1 사용 예제들

공개 메소드들

메소드 설명
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)

메소드 상세

Dump() 공개 메소드

public Dump ( object obj ) : void
obj object
리턴 void

RubyMarshalWriter() 공개 메소드

public RubyMarshalWriter ( Stream output ) : System
output Stream
리턴 System

WriteByte() 공개 메소드

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

WriteBytes() 공개 메소드

public WriteBytes ( byte s ) : void
s byte
리턴 void

WriteBytes() 공개 메소드

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

WriteCString() 공개 메소드

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

WriteClass() 공개 메소드

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
리턴 void

WriteEncoding() 공개 메소드

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

WriteExtended() 공개 메소드

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

WriteFloat() 공개 메소드

public WriteFloat ( RubyFloat value ) : void
value RubyFloat
리턴 void

WriteFloat() 공개 메소드

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

WriteFloat() 공개 메소드

public WriteFloat ( float value ) : void
value float
리턴 void

WriteInstanceVariable() 공개 메소드

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
리턴 void

WriteLong() 공개 메소드

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

WriteNByte() 공개 메소드

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

WriteObject() 공개 메소드

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

WriteObjectInstanceVariable() 공개 메소드

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

WriteSymbol() 공개 메소드

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

WriteUnique() 공개 메소드

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

WriteUserClass() 공개 메소드

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