|
| CStdDeserializer (const ScriptInterface &scriptInterface, std::istream &stream) |
|
virtual | ~CStdDeserializer () |
|
virtual void | ScriptVal (const char *name, JS::MutableHandleValue out) |
| Deserialize a JS::Value, replacing 'out'. More...
|
|
virtual void | ScriptObjectAssign (const char *name, JS::HandleValue objVal) |
| Deserialize an object and assign its properties to objVal (Essentially equivalent to Object.assign(objVal, serialized)) More...
|
|
virtual void | ScriptString (const char *name, JS::MutableHandleString out) |
| Deserialize a JSString. More...
|
|
virtual std::istream & | GetStream () |
| Returns a stream which can be used to deserialize data directly. More...
|
|
virtual void | RequireBytesInStream (size_t numBytes) |
| Throws an exception if the stream definitely cannot provide the required number of bytes. More...
|
|
void | TraceMember (JSTracer *trc) |
|
virtual | ~IDeserializer () |
|
virtual void | NumberU8 (const char *name, uint8_t &out, uint8_t lower, uint8_t upper) |
|
virtual void | NumberI8 (const char *name, int8_t &out, int8_t lower, int8_t upper) |
|
virtual void | NumberU16 (const char *name, uint16_t &out, uint16_t lower, uint16_t upper) |
|
virtual void | NumberI16 (const char *name, int16_t &out, int16_t lower, int16_t upper) |
|
virtual void | NumberU32 (const char *name, uint32_t &out, uint32_t lower, uint32_t upper) |
|
virtual void | NumberI32 (const char *name, int32_t &out, int32_t lower, int32_t upper) |
|
virtual void | NumberU8_Unbounded (const char *name, uint8_t &out) |
|
virtual void | NumberI8_Unbounded (const char *name, int8_t &out) |
|
virtual void | NumberU16_Unbounded (const char *name, uint16_t &out) |
|
virtual void | NumberI16_Unbounded (const char *name, int16_t &out) |
|
virtual void | NumberU32_Unbounded (const char *name, uint32_t &out) |
|
virtual void | NumberI32_Unbounded (const char *name, int32_t &out) |
|
virtual void | NumberFloat_Unbounded (const char *name, float &out) |
|
virtual void | NumberDouble_Unbounded (const char *name, double &out) |
|
virtual void | NumberFixed_Unbounded (const char *name, fixed &out) |
|
virtual void | Bool (const char *name, bool &out) |
|
virtual void | StringASCII (const char *name, std::string &out, uint32_t minlength, uint32_t maxlength) |
|
virtual void | String (const char *name, std::wstring &out, uint32_t minlength, uint32_t maxlength) |
|
virtual void | ScriptVal (const char *name, JS::MutableHandleValue out)=0 |
| Deserialize a JS::Value, replacing 'out'. More...
|
|
virtual void | ScriptObjectAssign (const char *name, JS::HandleValue objVal)=0 |
| Deserialize an object and assign its properties to objVal (Essentially equivalent to Object.assign(objVal, serialized)) More...
|
|
virtual void | ScriptString (const char *name, JS::MutableHandleString out)=0 |
| Deserialize a JSString. More...
|
|
virtual void | RawBytes (const char *name, u8 *data, size_t len) |
|
virtual int | GetVersion () const |
|
virtual std::istream & | GetStream ()=0 |
| Returns a stream which can be used to deserialize data directly. More...
|
|
virtual void | RequireBytesInStream (size_t numBytes)=0 |
| Throws an exception if the stream definitely cannot provide the required number of bytes. More...
|
|