C# Class System.Runtime.Serialization.Formatters.Binary.BinaryCommon

Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Méthodes publiques

Свойство Type Description
BinaryHeader byte[]
UseReflectionSerialization bool

Méthodes publiques

Méthode Description
CheckSerializable ( Type type, ISurrogateSelector selector, StreamingContext context ) : void
GetTypeCode ( Type type ) : byte
GetTypeFromCode ( int code ) : Type
IsPrimitive ( Type type ) : bool
SwapBytes ( byte byteArray, int size, int dataSize ) : void

Private Methods

Méthode Description
BinaryCommon ( ) : System

Method Details

CheckSerializable() public static méthode

public static CheckSerializable ( Type type, ISurrogateSelector selector, StreamingContext context ) : void
type System.Type
selector ISurrogateSelector
context StreamingContext
Résultat void

GetTypeCode() public static méthode

public static GetTypeCode ( Type type ) : byte
type System.Type
Résultat byte

GetTypeFromCode() public static méthode

public static GetTypeFromCode ( int code ) : Type
code int
Résultat System.Type

IsPrimitive() public static méthode

public static IsPrimitive ( Type type ) : bool
type System.Type
Résultat bool

SwapBytes() public static méthode

public static SwapBytes ( byte byteArray, int size, int dataSize ) : void
byteArray byte
size int
dataSize int
Résultat void

Property Details

BinaryHeader public_oe static_oe property

public static byte[] BinaryHeader
Résultat byte[]

UseReflectionSerialization public_oe static_oe property

public static bool UseReflectionSerialization
Résultat bool