AllegroFlare/Network2/Message
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
HEADER_LENGTH |
std::size_t |
MAX_BODY_LENGTH |
std::size_t |
MAGIC_HEADER_CHUNK |
char* |
data |
std::string |
body_length |
std::size_t |
Methods
todo() |
data_ptr() |
body_ptr() |
length() |
set_body_length(std::size_t new_length=0) |
set_body(std::string content="") |
get_header() |
get_body() |
decode_header_and_validate() |
validate_body_hash() |
encode_header() |
first_4_chars_hash_of(std::string string_to_hash="") |
body_size_base62() |
decode_body_size_chunk() |
extract_nth_header_chunk(int position=0) |
ignore() |
Dependencies
{"symbol"=>"chat_message", "headers"=>["AllegroFlare/Network2/inc/chat_message.hpp"]} |
{"symbol"=>"char*", "headers"=>[]} |
{"symbol"=>"std::size_t", "headers"=>["cstddef"]} |
{"symbol"=>"AllegroFlare::EncoderDecoders::Base62", "headers"=>["AllegroFlare/EncoderDecoders/Base62.hpp"]} |
{"symbol"=>"AllegroFlare::SHA2", "headers"=>["AllegroFlare/SHA2.hpp"]} |
Sponsor
Check out cat shirts available from CLUBCATT.