C# Class NekoKun.Serialization.RubyMarshal.RubyMarshalReader

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

Public Methods

Method Description
AppendExtendedModule ( object obj, List extmod ) : object

static VALUE append_extmod(VALUE obj, VALUE extmod)

Entry ( object v ) : object

//#define r_entry(v, arg) r_entry0((v), (arg)->data->num_entries, (arg))

Entry0 ( object v, int num ) : object

static VALUE r_entry0(VALUE v, st_index_t num, struct load_arg *arg)

GetEncoding ( RubySymbol id, object val ) : Encoding

static int id2encidx(ID id, VALUE val)

Leave ( object v ) : object

static VALUE r_leave(VALUE v, struct load_arg *arg)

Load ( ) : object
Prepare ( ) : int

static st_index_t r_prepare(struct load_arg *arg)

ReadByte ( ) : int

static int r_byte(struct load_arg *arg)

ReadBytes ( ) : byte[]

//#define r_bytes(arg) r_bytes0(r_long(arg), (arg))

ReadBytes0 ( int len ) : byte[]

static VALUE r_bytes0(long len, struct load_arg *arg)

ReadInstanceVariable ( object obj ) : void
ReadInstanceVariable ( object obj, bool &has_encoding ) : void

static void r_ivar(VALUE obj, int *has_encoding, struct load_arg *arg)

ReadLong ( ) : int

static long r_long(struct load_arg *arg)

ReadObject ( ) : object

static VALUE r_object(struct load_arg *arg)

ReadObject0 ( List extmod ) : object
ReadObject0 ( bool &ivp, List extmod ) : object
ReadObject0 ( bool hasivp, bool &ivp, List extmod ) : object

static VALUE r_object0(struct load_arg *arg, int *ivp, VALUE extmod)

ReadString ( ) : RubyString

static VALUE r_string(struct load_arg *arg)

ReadSymbol ( ) : RubySymbol

static ID r_symbol(struct load_arg *arg)

ReadSymbolLink ( ) : RubySymbol

static ID r_symlink(struct load_arg *arg)

ReadSymbolReal ( bool ivar ) : RubySymbol

static ID r_symreal(struct load_arg *arg, int ivar)

ReadUnique ( ) : RubySymbol

static VALUE r_unique(struct load_arg *arg)

RubyMarshalReader ( Stream input ) : System

Method Details

AppendExtendedModule() public method

static VALUE append_extmod(VALUE obj, VALUE extmod)
public AppendExtendedModule ( object obj, List extmod ) : object
obj object
extmod List
return object

Entry() public method

//#define r_entry(v, arg) r_entry0((v), (arg)->data->num_entries, (arg))
public Entry ( object v ) : object
v object
return object

Entry0() public method

static VALUE r_entry0(VALUE v, st_index_t num, struct load_arg *arg)
public Entry0 ( object v, int num ) : object
v object
num int
return object

GetEncoding() public method

static int id2encidx(ID id, VALUE val)
public GetEncoding ( RubySymbol id, object val ) : Encoding
id RubySymbol
val object
return System.Text.Encoding

Leave() public method

static VALUE r_leave(VALUE v, struct load_arg *arg)
public Leave ( object v ) : object
v object
return object

Load() public method

public Load ( ) : object
return object

Prepare() public method

static st_index_t r_prepare(struct load_arg *arg)
public Prepare ( ) : int
return int

ReadByte() public method

static int r_byte(struct load_arg *arg)
public ReadByte ( ) : int
return int

ReadBytes() public method

//#define r_bytes(arg) r_bytes0(r_long(arg), (arg))
public ReadBytes ( ) : byte[]
return byte[]

ReadBytes0() public method

static VALUE r_bytes0(long len, struct load_arg *arg)
public ReadBytes0 ( int len ) : byte[]
len int
return byte[]

ReadInstanceVariable() public method

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

ReadInstanceVariable() public method

static void r_ivar(VALUE obj, int *has_encoding, struct load_arg *arg)
public ReadInstanceVariable ( object obj, bool &has_encoding ) : void
obj object
has_encoding bool
return void

ReadLong() public method

static long r_long(struct load_arg *arg)
public ReadLong ( ) : int
return int

ReadObject() public method

static VALUE r_object(struct load_arg *arg)
public ReadObject ( ) : object
return object

ReadObject0() public method

public ReadObject0 ( List extmod ) : object
extmod List
return object

ReadObject0() public method

public ReadObject0 ( bool &ivp, List extmod ) : object
ivp bool
extmod List
return object

ReadObject0() public method

static VALUE r_object0(struct load_arg *arg, int *ivp, VALUE extmod)
public ReadObject0 ( bool hasivp, bool &ivp, List extmod ) : object
hasivp bool
ivp bool
extmod List
return object

ReadString() public method

static VALUE r_string(struct load_arg *arg)
public ReadString ( ) : RubyString
return RubyString

ReadSymbol() public method

static ID r_symbol(struct load_arg *arg)
public ReadSymbol ( ) : RubySymbol
return RubySymbol

ReadSymbolLink() public method

static ID r_symlink(struct load_arg *arg)
public ReadSymbolLink ( ) : RubySymbol
return RubySymbol

ReadSymbolReal() public method

static ID r_symreal(struct load_arg *arg, int ivar)
public ReadSymbolReal ( bool ivar ) : RubySymbol
ivar bool
return RubySymbol

ReadUnique() public method

static VALUE r_unique(struct load_arg *arg)
public ReadUnique ( ) : RubySymbol
return RubySymbol

RubyMarshalReader() public method

public RubyMarshalReader ( Stream input ) : System
input Stream
return System