Documentation ¶
Index ¶
- 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
- type FastPathSender
- type PublicKey
- type ReadBytesComplete
- type SocketLayer
- type Transport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decompress ¶
main decompress function
func PutUint16BE ¶
func RGB565ToRGB ¶
func StartReadBytes ¶
func StartReadBytes(len int, r io.Reader, cb ReadBytesComplete)
func UnicodeDecode ¶
Types ¶
type FastPathListener ¶
type FastPathSender ¶
type ReadBytesComplete ¶
type SocketLayer ¶
type SocketLayer struct {
// contains filtered or unexported fields
}
func NewSocketLayer ¶
func NewSocketLayer(conn net.Conn) *SocketLayer
func (*SocketLayer) Close ¶
func (s *SocketLayer) Close() error
func (*SocketLayer) StartTLS ¶
func (s *SocketLayer) StartTLS() error
func (*SocketLayer) TlsPubKey ¶
func (s *SocketLayer) TlsPubKey() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.