Constructors
Properties
Count
#Gets the number of items stored in this entry. If the entry does not represent an array, this property always returns one. If the entry does represent an array, the length of the array is returned.
RawData
#Gets the raw data stored in this entry. There are also type-safe accessors available which you should consider using. Internal data is supposed to be immutable, so when you use this accessor to modify the state of the raw data you may cause all sorts of problems.
SizeEstimate
#Gets an estimate of the number of bytes this value takes up when written to file. Note that this will differ from the size taken up in memory at runtime. Also note that the values will sometimes be estimations rather than the actual value, as determining the actual size would require a lot of resources.
Methods
AreIndentical
#Test two entries for equality. This comparison (unlike Equals and CompareTo) test both the location and value of the entry.
DeserializeObject<T>
#public T DeserializeObject<T>()
Deserialize an object from the internal data.
Returns: The deserialized object.
FromObject
#Stores a generic object. The object must either provide its own deserialization via the Serializable attribute or the ISerializable interface, or it must be supported as one of the standard types via the System.Runtime.Serialization.Formatters.Binary.BinaryFormatter class. The object will be stored as a byte-array.
Parameters:
| value (object) | Object to serialize. |
Read
#Read an entry from a binary reader.
Parameters:
| reader (BinaryReader) | Reader object. |
| entry (out Value) | Deserialized entry. |
ToString
#Gets a string representation of this item. This conversion can be lossy.
Overrides: Object.ToString
Write
#Write an entry to an archive.
Parameters:
| writer (BinaryWriter) | Writer object. |
| entry (Value) | Entry to serialize. |
Convertors
| Operation | Result | Description | ||
|---|---|---|---|---|
| implicit | AbsRelPaths | Value | ||
| implicit | AbsRelPaths[] | Value | ||
| implicit | BigInteger | Value | ||
| implicit | BigInteger[] | Value | ||
| implicit | bool | Value | ||
| implicit | bool[] | Value | ||
| implicit | byte | Value | ||
| implicit | byte[] | Value | ||
| implicit | Complex | Value | ||
| implicit | Complex[] | Value | ||
| implicit | DateTime | Value | ||
| implicit | DateTime[] | Value | ||
| implicit | decimal | Value | ||
| implicit | decimal[] | Value | ||
| implicit | double | Value | ||
| implicit | double[] | Value | ||
| implicit | float | Value | ||
| implicit | float[] | Value | ||
| implicit | Guid | Value | ||
| implicit | Guid[] | Value | ||
| implicit | int | Value | ||
| implicit | int[] | Value | ||
| implicit | long | Value | ||
| implicit | long[] | Value | ||
| implicit | string | Value | ||
| implicit | string[] | Value | ||
| implicit | TimeSpan | Value | ||
| implicit | TimeSpan[] | Value | ||
| implicit | uint | Value | ||
| implicit | uint[] | Value | ||
| implicit | ulong | Value | ||
| implicit | ulong[] | Value | ||
| implicit | Version | Value | ||
| implicit | Version[] | Value | ||