C# Class Ocronet.Dynamic.OcroFST.FstIO

Mostrar archivo Open project: nickun/OCRonet Class Usage Examples

Protected Properties

Property Type Description
FLAG_HAS_ISYMBOLS System.Int32
FLAG_HAS_OSYMBOLS System.Int32
MIN_VERSION System.Int32
OPENFST_MAGIC System.Int32
OPENFST_SYMBOL_TABLE_MAGIC System.Int32
PROPERTIES System.Int64

Public Methods

Method Description
fst_read ( IGenericFst fst, BinaryReader reader ) : void
fst_write ( BinaryWriter writer, IGenericFst fst ) : void

Protected Methods

Method Description
read_float ( BinaryReader reader ) : float
read_header_and_symbols ( IGenericFst fst, BinaryReader reader ) : void
read_int32_LE ( BinaryReader reader ) : Int32
read_int64_LE ( BinaryReader reader ) : System.Int64
read_magic_string ( BinaryReader reader, string s ) : bool
read_node ( BinaryReader reader, IGenericFst fst, int index ) : void
skip_string ( BinaryReader reader ) : void
skip_symbol_table ( BinaryReader reader ) : bool
write_float ( BinaryWriter writer, float f ) : void
write_header_and_symbols ( BinaryWriter writer, IGenericFst fst ) : void
write_int32_LE ( BinaryWriter writer, Int32 n ) : void
write_int64_LE ( BinaryWriter writer, System.Int64 n ) : void
write_node ( BinaryWriter writer, IGenericFst fst, int index ) : void
write_string ( BinaryWriter writer, string s ) : void

Method Details

fst_read() public static method

public static fst_read ( IGenericFst fst, BinaryReader reader ) : void
fst Ocronet.Dynamic.Interfaces.IGenericFst
reader System.IO.BinaryReader
return void

fst_write() public static method

public static fst_write ( BinaryWriter writer, IGenericFst fst ) : void
writer System.IO.BinaryWriter
fst Ocronet.Dynamic.Interfaces.IGenericFst
return void

read_float() protected static method

protected static read_float ( BinaryReader reader ) : float
reader System.IO.BinaryReader
return float

read_header_and_symbols() protected static method

protected static read_header_and_symbols ( IGenericFst fst, BinaryReader reader ) : void
fst Ocronet.Dynamic.Interfaces.IGenericFst
reader System.IO.BinaryReader
return void

read_int32_LE() protected static method

protected static read_int32_LE ( BinaryReader reader ) : Int32
reader System.IO.BinaryReader
return System.Int32

read_int64_LE() protected static method

protected static read_int64_LE ( BinaryReader reader ) : System.Int64
reader System.IO.BinaryReader
return System.Int64

read_magic_string() protected static method

protected static read_magic_string ( BinaryReader reader, string s ) : bool
reader System.IO.BinaryReader
s string
return bool

read_node() protected static method

protected static read_node ( BinaryReader reader, IGenericFst fst, int index ) : void
reader System.IO.BinaryReader
fst Ocronet.Dynamic.Interfaces.IGenericFst
index int
return void

skip_string() protected static method

protected static skip_string ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void

skip_symbol_table() protected static method

protected static skip_symbol_table ( BinaryReader reader ) : bool
reader System.IO.BinaryReader
return bool

write_float() protected static method

protected static write_float ( BinaryWriter writer, float f ) : void
writer System.IO.BinaryWriter
f float
return void

write_header_and_symbols() protected static method

protected static write_header_and_symbols ( BinaryWriter writer, IGenericFst fst ) : void
writer System.IO.BinaryWriter
fst Ocronet.Dynamic.Interfaces.IGenericFst
return void

write_int32_LE() protected static method

protected static write_int32_LE ( BinaryWriter writer, Int32 n ) : void
writer System.IO.BinaryWriter
n System.Int32
return void

write_int64_LE() protected static method

protected static write_int64_LE ( BinaryWriter writer, System.Int64 n ) : void
writer System.IO.BinaryWriter
n System.Int64
return void

write_node() protected static method

protected static write_node ( BinaryWriter writer, IGenericFst fst, int index ) : void
writer System.IO.BinaryWriter
fst Ocronet.Dynamic.Interfaces.IGenericFst
index int
return void

write_string() protected static method

protected static write_string ( BinaryWriter writer, string s ) : void
writer System.IO.BinaryWriter
s string
return void

Property Details

FLAG_HAS_ISYMBOLS protected_oe static_oe property

protected static Int32,System FLAG_HAS_ISYMBOLS
return System.Int32

FLAG_HAS_OSYMBOLS protected_oe static_oe property

protected static Int32,System FLAG_HAS_OSYMBOLS
return System.Int32

MIN_VERSION protected_oe static_oe property

protected static Int32,System MIN_VERSION
return System.Int32

OPENFST_MAGIC protected_oe static_oe property

protected static Int32,System OPENFST_MAGIC
return System.Int32

OPENFST_SYMBOL_TABLE_MAGIC protected_oe static_oe property

protected static Int32,System OPENFST_SYMBOL_TABLE_MAGIC
return System.Int32

PROPERTIES protected_oe static_oe property

protected static Int64,System PROPERTIES
return System.Int64