Construct a Compact serializer using the given types to specialize the byte stream.
Namespace:
Sasa.Serialization.Binary
Assembly:
Sasa.Serialization (in Sasa.Serialization.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function Make ( _
respectSerializable As Boolean, _
ParamArray customTags As Type() _
) As Compact |
| C# |
|---|
public static Compact Make(
bool respectSerializable,
params Type[] customTags
) |
| Visual C++ |
|---|
public:
static Compact^ Make(
bool respectSerializable,
... array<Type^>^ customTags
) |
| JavaScript |
|---|
Sasa.Serialization.Binary.Compact.make = function(respectSerializable, ... customTags); |
Parameters
- respectSerializable
- Type: System..::.Boolean
A flag indicating whether the objects' Serializable attribute should be respected.
- customTags
- Type: array<
System..::.Type
>[]()[]
The types to use to customize the byte stream.
Return Value
A Compact serializer.
See Also