Метод | Описание | |
---|---|---|
BinaryPlistWriter ( ) : System |
Initializes a new instance of the BinaryPlistWriter class.
|
|
WriteObject ( Stream stream, IDictionary dictionary ) : void |
Writes the specified IDictionary object to the given stream as a binary plist.
|
|
WriteObject ( Stream stream, IDictionary dictionary, bool closeStream ) : void |
Writes the specified IDictionary object to the given stream as a binary plist.
|
|
WriteObject ( Stream stream, IPlistSerializable obj ) : void |
Writes the specified IPlistSerializable object to the given stream as a binary plist.
|
|
WriteObject ( Stream stream, IPlistSerializable obj, bool closeStream ) : void |
Writes the specified IPlistSerializable object to the given stream as a binary plist.
|
|
WriteObject ( string path, IDictionary dictionary ) : void |
Writes the specified IDictionary object to the given file path as a binary plist.
|
|
WriteObject ( string path, IPlistSerializable obj ) : void |
Writes the specified IPlistSerializable object to the given file path as a binary plist.
|
Метод | Описание | |
---|---|---|
AddArray ( IEnumerable value ) : int |
Adds an array to the internal object table.
|
|
AddData ( object value ) : int |
Adds arbitrary data to the internal object table.
|
|
AddDate ( System.DateTime value ) : int |
Adds a date to the internal object table.
|
|
AddDictionary ( IDictionary value ) : int |
Adds a dictionary to the internal object table.
|
|
AddDouble ( double value ) : int |
Adds a double to the internal object table.
|
|
AddFloat ( float value ) : int |
Adds a float to the internal object table.
|
|
AddInteger ( long value ) : int |
Adds an integer to the internal object table.
|
|
AddIntegerCount ( IList |
Adds an integer count to the given buffer.
|
|
AddObject ( object value ) : int |
Adds an object to the internal object table.
|
|
AddPrimitive ( bool value ) : int |
Adds a primitive to the internal object table.
|
|
AddString ( string value ) : int |
Adds a string to the internal object table.
|
|
CalculateObjectRefSize ( ) : void |
Calculates the object ref size to use for this instance's current state.
|
|
GetIntegerBytes ( long value ) : byte[] |
Gets a big-endian byte array that corresponds to the given integer value.
|
|
Reset ( ) : void |
Resets this instance's state.
|
|
WriteArray ( |
Writes an array item to the given BinaryWriter.
|
|
WriteDictionary ( |
Writes a dictionary item to the given BinaryWriter.
|
|
WriteObjectTable ( |
Write the object table to the given BinaryWriter.
|
|
WriteReferenceInteger ( |
Writes the given value using the number of bytes indicated by the specified size to the given BinaryWriter.
|
public WriteObject ( Stream stream, IDictionary dictionary ) : void | ||
stream | Stream | The stream to write to. |
dictionary | IDictionary | The |
Результат | void |
public WriteObject ( Stream stream, IDictionary dictionary, bool closeStream ) : void | ||
stream | Stream | The stream to write to. |
dictionary | IDictionary | The |
closeStream | bool | A value indicating whether to close the stream after the write operation completes. |
Результат | void |
public WriteObject ( Stream stream, IPlistSerializable obj ) : void | ||
stream | Stream | The stream to write to. |
obj | IPlistSerializable | The |
Результат | void |
public WriteObject ( Stream stream, IPlistSerializable obj, bool closeStream ) : void | ||
stream | Stream | The stream to write to. |
obj | IPlistSerializable | The |
closeStream | bool | A value indicating whether to close the stream after the write operation completes. |
Результат | void |
public WriteObject ( string path, IDictionary dictionary ) : void | ||
path | string | The file path to write to. |
dictionary | IDictionary | The |
Результат | void |
public WriteObject ( string path, IPlistSerializable obj ) : void | ||
path | string | The file path to write to. |
obj | IPlistSerializable | The |
Результат | void |