Clean
This commit is contained in:
@@ -26,46 +26,46 @@
|
||||
|
||||
namespace Technosoftware.DaAeHdaClient.Cpx
|
||||
{
|
||||
/// <summary>
|
||||
/// Stores the current serialization context.
|
||||
/// </summary>
|
||||
internal struct TsCCpxContext
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
#region Constructors, Destructor, Initialization
|
||||
/// <summary>
|
||||
/// Stores the current serialization context.
|
||||
/// </summary>
|
||||
internal struct TsCCpxContext
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
#region Constructors, Destructor, Initialization
|
||||
|
||||
public TsCCpxContext(byte[] buffer)
|
||||
{
|
||||
Buffer = buffer;
|
||||
Index = 0;
|
||||
Dictionary = null;
|
||||
Type = null;
|
||||
BigEndian = false;
|
||||
CharWidth = 2;
|
||||
StringEncoding = STRING_ENCODING_UCS2;
|
||||
FloatFormat = FLOAT_FORMAT_IEEE754;
|
||||
}
|
||||
public TsCCpxContext(byte[] buffer)
|
||||
{
|
||||
Buffer = buffer;
|
||||
Index = 0;
|
||||
Dictionary = null;
|
||||
Type = null;
|
||||
BigEndian = false;
|
||||
CharWidth = 2;
|
||||
StringEncoding = STRING_ENCODING_UCS2;
|
||||
FloatFormat = FLOAT_FORMAT_IEEE754;
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
#region Public Fields
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
#region Public Fields
|
||||
|
||||
public byte[] Buffer;
|
||||
public int Index;
|
||||
public TypeDictionary Dictionary;
|
||||
public TypeDescription Type;
|
||||
public bool BigEndian;
|
||||
public int CharWidth;
|
||||
public string StringEncoding;
|
||||
public string FloatFormat;
|
||||
public byte[] Buffer;
|
||||
public int Index;
|
||||
public TypeDictionary Dictionary;
|
||||
public TypeDescription Type;
|
||||
public bool BigEndian;
|
||||
public int CharWidth;
|
||||
public string StringEncoding;
|
||||
public string FloatFormat;
|
||||
|
||||
|
||||
public const string STRING_ENCODING_ACSII = "ASCII";
|
||||
public const string STRING_ENCODING_UCS2 = "UCS-2";
|
||||
public const string FLOAT_FORMAT_IEEE754 = "IEEE-754";
|
||||
public const string STRING_ENCODING_ACSII = "ASCII";
|
||||
public const string STRING_ENCODING_UCS2 = "UCS-2";
|
||||
public const string FLOAT_FORMAT_IEEE754 = "IEEE-754";
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user