raknet

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiRakNet

type MultiRakNet struct {
	minecraft.RakNet
}

MultiRakNet is an implementation of a RakNet v9/10 Network.

func (MultiRakNet) Compression

func (MultiRakNet) Compression(conn net.Conn) packet.Compression

Compression ...

func (MultiRakNet) Listen

func (MultiRakNet) Listen(address string) (minecraft.NetworkListener, error)

Listen ...

type ZLibCompression

type ZLibCompression struct{}

ZLibCompression is an implementation of the zLib compression algorithm.

func (ZLibCompression) Compress

func (ZLibCompression) Compress(decompressed []byte) ([]byte, error)

Compress ...

func (ZLibCompression) Decompress

func (ZLibCompression) Decompress(compressed []byte) ([]byte, error)

Decompress ...

func (ZLibCompression) EncodeCompression

func (ZLibCompression) EncodeCompression() uint16

EncodeCompression ...

Jump to

Keyboard shortcuts

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