Go to the source code of this file.
Classes | |
class | PickleReader |
Variables | |
module mango io | PickleReader |
import mango io | EndianReader |
import mango io mango io | PickleRegistry |
public class VersionBigEndian typedef Reader | SuperClass |
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for damages of any kind arising from the use of this software.
Permission is hereby granted to anyone to use this software for any purpose, including commercial applications, and to alter it and/or redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment within documentation of said product would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any distribution of the source.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Definition in file PickleReader.d.
|
Definition at line 36 of file PickleReader.d. |
|
Definition at line 38 of file PickleReader.d. |
|
Definition at line 38 of file PickleReader.d. |
|
Reads serialized content from the bound Buffer, and reconstructs the 'original' object from the data therein. All content must be in Network byte-order, so as to span machine boundaries. Here's an example of how this class is expected to be used in conjunction with PickleWriter & PickleRegistry:
An alternative approach uses a proxy function instead of a class:
Note that in the latter case you must ensure that the enroll() method is passed a guid identical to the one exposed by the IPickle instance. Definition at line 55 of file PickleWriter.d. |