crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
PickleDict.hpp File Reference
#include "../Helper/Bytes.hpp"
#include "../Helper/Container.hpp"
#include "../Main/Exception.hpp"
#include <array>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <iterator>
#include <limits>
#include <optional>
#include <string>
#include <unordered_map>
#include <vector>
#include <iostream>
Include dependency graph for PickleDict.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  crawlservpp::Data::PickleDict
 Simple Python pickle dictionary. More...
 
class  crawlservpp::Data::PickleDict::Exception
 Class for Python pickle exceptions. More...
 

Namespaces

 crawlservpp::Data
 Namespace for different types of data.
 

Typedefs

using crawlservpp::Data::Bytes = std::vector< std::uint8_t >
 

Constants

constexpr auto crawlservpp::Data::pickleOneByte {1}
 One byte. More...
 
constexpr auto crawlservpp::Data::pickleTwoBytes {2}
 Two bytes. More...
 
constexpr auto crawlservpp::Data::pickleFourBytes {4}
 Four bytes. More...
 
constexpr auto crawlservpp::Data::pickleEightBytes {8}
 Eight bytes. More...
 
constexpr auto crawlservpp::Data::pickleNineBytes {9}
 Nine bytes (eight bytes and an op-code). More...
 
constexpr auto crawlservpp::Data::pickleMinSize {11}
 The minimum size of a Python pickle to extract a frame. More...
 
constexpr auto crawlservpp::Data::pickleProtocolVersion {4}
 The protocol version of Python pickles used. More...
 
constexpr auto crawlservpp::Data::pickleProtoByte {0}
 The position of the protocol byte in a Python pickle. More...
 
constexpr auto crawlservpp::Data::pickleVersionByte {1}
 The position of the version byte in a Python pickle. More...
 
constexpr auto crawlservpp::Data::pickleHeadSize {2}
 The size of the Python pickle header, in bytes. More...
 
constexpr auto crawlservpp::Data::pickleMinFrameSize {9}
 The minimum size of a Python pickle frame. More...
 
constexpr std::uint8_t crawlservpp::Data::pickleMaxUOneByteNumber {255}
 Maximum number in unsigned one-byte number. More...
 
constexpr std::uint16_t crawlservpp::Data::pickleMaxUTwoByteNumber {65535}
 Maximum number in unsigned two-byte number. More...
 
constexpr std::uint32_t crawlservpp::Data::pickleMaxUFourByteNumber {4294967295}
 Maximum number in unsigned four-byte number. More...
 
constexpr auto crawlservpp::Data::pickleBase {10}
 The base used for converting strings to numbers. More...