PacketPeerStream

Wrapper to use a PacketPeer over a StreamPeer.

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.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

getInputBufferMaxSize
long getInputBufferMaxSize()
getOutputBufferMaxSize
long getOutputBufferMaxSize()
getStreamPeer
Ref!StreamPeer getStreamPeer()
opAssign
PacketPeerStream opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(PacketPeerStream other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
setInputBufferMaxSize
void setInputBufferMaxSize(long max_size_bytes)
setOutputBufferMaxSize
void setOutputBufferMaxSize(long max_size_bytes)
setStreamPeer
void setStreamPeer(StreamPeer peer)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

inputBufferMaxSize
long inputBufferMaxSize [@property getter]
long inputBufferMaxSize [@property setter]
outputBufferMaxSize
long outputBufferMaxSize [@property getter]
long outputBufferMaxSize [@property setter]
streamPeer
StreamPeer streamPeer [@property getter]
StreamPeer streamPeer [@property setter]

The wrapped StreamPeer object.

Static functions

_new
PacketPeerStream _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta