PacketPeerStream

package
v0.0.0-...-59761c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package PacketPeerStream provides methods for working with PacketPeerStream object instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsPacketPeerStream() Instance
}

type Instance

type Instance [1]gdclass.PacketPeerStream

PacketStreamPeer provides a wrapper for working using packets over a stream. This allows for using packet based code with StreamPeers. PacketPeerStream implements a custom protocol over the StreamPeer, so the user should not read or write to the wrapped StreamPeer directly. [b]Note:[/b] When exporting to Android, make sure to enable the [code]INTERNET[/code] permission in the Android export preset before exporting the project or using one-click deploy. Otherwise, network communication of any kind will be blocked by Android.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsPacketPeer

func (self Instance) AsPacketPeer() PacketPeer.Instance

func (Instance) AsPacketPeerStream

func (self Instance) AsPacketPeerStream() Instance

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) InputBufferMaxSize

func (self Instance) InputBufferMaxSize() int

func (Instance) OutputBufferMaxSize

func (self Instance) OutputBufferMaxSize() int

func (Instance) SetInputBufferMaxSize

func (self Instance) SetInputBufferMaxSize(value int)

func (Instance) SetOutputBufferMaxSize

func (self Instance) SetOutputBufferMaxSize(value int)

func (Instance) SetStreamPeer

func (self Instance) SetStreamPeer(value [1]gdclass.StreamPeer)

func (Instance) StreamPeer

func (self Instance) StreamPeer() [1]gdclass.StreamPeer

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL