dis

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package dis implements encoding and decoding of the DIS (data is string) serialization format used by pbs_server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeInt

func EncodeInt(i int64) string

EncodeInt returns a string encoding integer i in the DIS format.

func EncodeString

func EncodeString(s string) string

EncodeString returns a string encoding string s in the DIS format.

func ReadInt

func ReadInt(r *bufio.Reader) (int64, error)

ReadInt parses a DIS-encoded integer out of r.

func ReadString

func ReadString(r *bufio.Reader) (string, error)

ReadString parses a DIS-encoded string out of r.

Types

This section is empty.

Jump to

Keyboard shortcuts

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