Poco::JS::Bridge

class TaggedBinaryReader

Library: JS/Bridge
Package: Bridging
Header: Poco/JS/Bridge/TaggedBinaryReader.h

Description

This class creates a JavaScript object from a tagged binary stream produced by TaggedBinarySerializer.

Member Summary

Member Functions: check, deserializeName, deserializeTypeTag, read

Constructors

TaggedBinaryReader

TaggedBinaryReader(
    v8::Isolate * pIsolate
);

Creates the TaggedBinaryReader.

Destructor

~TaggedBinaryReader

~TaggedBinaryReader();

Destroys the TaggedBinaryReader.

Member Functions

read

const v8::Global < v8::Object > & read(
    std::istream & istream
);

Reads a JavaScript object from the given stream.

check protected inline

void check(
    bool result
);

deserializeName protected inline

std::string deserializeName(
    Poco::RemotingNG::BinaryDeserializer & deserializer
);

deserializeTypeTag protected inline

Poco::UInt8 deserializeTypeTag(
    Poco::RemotingNG::BinaryDeserializer & deserializer
);

read protected inline

template < typename T > void read(
    Poco::RemotingNG::BinaryDeserializer & deserializer
);

Securely control IoT edge devices from anywhere   Connect a Device