Versions in this module Expand all Collapse all v1 v1.1.2 Apr 17, 2023 v1.1.1 Apr 17, 2023 Changes in this version + func CVAL(p *[]uint8) int + func CVAL2(p *[]uint8, v *uint16) + func Decompress(input []uint8, width, height int, Bpp int) []uint8 + func PutUint16BE(data uint16) (uint8, uint8) + func REPEAT(f func(), count, x *int, width int) + func RGB565ToRGB(data uint16) (r, g, b uint8) + func Random(n int) []byte + func ReadByte(r io.Reader) (byte, error) + func ReadBytes(len int, r io.Reader) ([]byte, error) + func ReadUInt32BE(r io.Reader) (uint32, error) + func ReadUInt32LE(r io.Reader) (uint32, error) + func ReadUInt8(r io.Reader) (uint8, error) + func ReadUint16BE(r io.Reader) (uint16, error) + func ReadUint16LE(r io.Reader) (uint16, error) + func Reverse(s []byte) []byte + func StartReadBytes(len int, r io.Reader, cb ReadBytesComplete) + func Uint16BE(d0, d1 uint8) uint16 + func UnicodeDecode(p []byte) string + func UnicodeEncode(p string) []byte + func WriteByte(data byte, w io.Writer) (int, error) + func WriteBytes(data []byte, w io.Writer) (int, error) + func WriteUInt16BE(data uint16, w io.Writer) (int, error) + func WriteUInt16LE(data uint16, w io.Writer) (int, error) + func WriteUInt32BE(data uint32, w io.Writer) (int, error) + func WriteUInt32LE(data uint32, w io.Writer) (int, error) + func WriteUInt8(data uint8, w io.Writer) (int, error) + type FastPathListener interface + RecvFastPath func(secFlag byte, s []byte) + type FastPathSender interface + SendFastPath func(secFlag byte, s []byte) (int, error) + type PublicKey struct + E int + N *big.Int + type ReadBytesComplete func(result []byte, err error) + type SocketLayer struct + func NewSocketLayer(conn net.Conn) *SocketLayer + func (s *SocketLayer) Close() error + func (s *SocketLayer) Read(b []byte) (n int, err error) + func (s *SocketLayer) StartTLS() error + func (s *SocketLayer) TlsPubKey() ([]byte, error) + func (s *SocketLayer) Write(b []byte) (n int, err error) + type Transport interface + Close func() error + Emit func(event interface{}, arguments ...interface{}) *emission.Emitter + On func(event, listener interface{}) *emission.Emitter + Once func(event, listener interface{}) *emission.Emitter + Read func(b []byte) (n int, err error) + Write func(b []byte) (n int, err error)