godot/core/io/packet_peer.cpp

/**************************************************************************/
/*  packet_peer.cpp                                                       */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "packet_peer.h"

#include "core/config/project_settings.h"
#include "core/io/marshalls.h"

/* helpers / binders */

void PacketPeer::set_encode_buffer_max_size(int p_max_size) {}

int PacketPeer::get_encode_buffer_max_size() const {}

Error PacketPeer::get_packet_buffer(Vector<uint8_t> &r_buffer) {}

Error PacketPeer::put_packet_buffer(const Vector<uint8_t> &p_buffer) {}

Error PacketPeer::get_var(Variant &r_variant, bool p_allow_objects) {}

Error PacketPeer::put_var(const Variant &p_packet, bool p_full_objects) {}

Variant PacketPeer::_bnd_get_var(bool p_allow_objects) {}

Error PacketPeer::_put_packet(const Vector<uint8_t> &p_buffer) {}

Vector<uint8_t> PacketPeer::_get_packet() {}

Error PacketPeer::_get_packet_error() const {}

void PacketPeer::_bind_methods() {}

/***************/

Error PacketPeerExtension::get_packet(const uint8_t **r_buffer, int &r_buffer_size) {}

Error PacketPeerExtension::put_packet(const uint8_t *p_buffer, int p_buffer_size) {}

void PacketPeerExtension::_bind_methods() {}

/***************/

void PacketPeerStream::_bind_methods() {}

Error PacketPeerStream::_poll_buffer() const {}

int PacketPeerStream::get_available_packet_count() const {}

Error PacketPeerStream::get_packet(const uint8_t **r_buffer, int &r_buffer_size) {}

Error PacketPeerStream::put_packet(const uint8_t *p_buffer, int p_buffer_size) {}

int PacketPeerStream::get_max_packet_size() const {}

void PacketPeerStream::set_stream_peer(const Ref<StreamPeer> &p_peer) {}

Ref<StreamPeer> PacketPeerStream::get_stream_peer() const {}

void PacketPeerStream::set_input_buffer_max_size(int p_max_size) {}

int PacketPeerStream::get_input_buffer_max_size() const {}

void PacketPeerStream::set_output_buffer_max_size(int p_max_size) {}

int PacketPeerStream::get_output_buffer_max_size() const {}

PacketPeerStream::PacketPeerStream() {}