godot/core/io/stream_peer.cpp

/**************************************************************************/
/*  stream_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 "stream_peer.h"

#include "core/io/marshalls.h"

Error StreamPeer::_put_data(const Vector<uint8_t> &p_data) {}

Array StreamPeer::_put_partial_data(const Vector<uint8_t> &p_data) {}

Array StreamPeer::_get_data(int p_bytes) {}

Array StreamPeer::_get_partial_data(int p_bytes) {}

void StreamPeer::set_big_endian(bool p_big_endian) {}

bool StreamPeer::is_big_endian_enabled() const {}

void StreamPeer::put_u8(uint8_t p_val) {}

void StreamPeer::put_8(int8_t p_val) {}

void StreamPeer::put_u16(uint16_t p_val) {}

void StreamPeer::put_16(int16_t p_val) {}

void StreamPeer::put_u32(uint32_t p_val) {}

void StreamPeer::put_32(int32_t p_val) {}

void StreamPeer::put_u64(uint64_t p_val) {}

void StreamPeer::put_64(int64_t p_val) {}

void StreamPeer::put_half(float p_val) {}

void StreamPeer::put_float(float p_val) {}

void StreamPeer::put_double(double p_val) {}

void StreamPeer::put_string(const String &p_string) {}

void StreamPeer::put_utf8_string(const String &p_string) {}

void StreamPeer::put_var(const Variant &p_variant, bool p_full_objects) {}

uint8_t StreamPeer::get_u8() {}

int8_t StreamPeer::get_8() {}

uint16_t StreamPeer::get_u16() {}

int16_t StreamPeer::get_16() {}

uint32_t StreamPeer::get_u32() {}

int32_t StreamPeer::get_32() {}

uint64_t StreamPeer::get_u64() {}

int64_t StreamPeer::get_64() {}

float StreamPeer::get_half() {}

float StreamPeer::get_float() {}

double StreamPeer::get_double() {}

String StreamPeer::get_string(int p_bytes) {}

String StreamPeer::get_utf8_string(int p_bytes) {}

Variant StreamPeer::get_var(bool p_allow_objects) {}

void StreamPeer::_bind_methods() {}

////////////////////////////////

Error StreamPeerExtension::get_data(uint8_t *r_buffer, int p_bytes) {}

Error StreamPeerExtension::get_partial_data(uint8_t *r_buffer, int p_bytes, int &r_received) {}

Error StreamPeerExtension::put_data(const uint8_t *p_data, int p_bytes) {}

Error StreamPeerExtension::put_partial_data(const uint8_t *p_data, int p_bytes, int &r_sent) {}

void StreamPeerExtension::_bind_methods() {}

////////////////////////////////

void StreamPeerBuffer::_bind_methods() {}

Error StreamPeerBuffer::put_data(const uint8_t *p_data, int p_bytes) {}

Error StreamPeerBuffer::put_partial_data(const uint8_t *p_data, int p_bytes, int &r_sent) {}

Error StreamPeerBuffer::get_data(uint8_t *p_buffer, int p_bytes) {}

Error StreamPeerBuffer::get_partial_data(uint8_t *p_buffer, int p_bytes, int &r_received) {}

int StreamPeerBuffer::get_available_bytes() const {}

void StreamPeerBuffer::seek(int p_pos) {}

int StreamPeerBuffer::get_size() const {}

int StreamPeerBuffer::get_position() const {}

void StreamPeerBuffer::resize(int p_size) {}

void StreamPeerBuffer::set_data_array(const Vector<uint8_t> &p_data) {}

Vector<uint8_t> StreamPeerBuffer::get_data_array() const {}

void StreamPeerBuffer::clear() {}

Ref<StreamPeerBuffer> StreamPeerBuffer::duplicate() const {}