qt

package
v0.0.0-...-a2c3042 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertUtf16

func ConvertUtf16(b []byte) string
Example
b := []byte{0x00, 0x43, 0x00, 0x3a}
fmt.Printf("%v", ConvertUtf16(b))
Output:

C:

func QDateTime

func QDateTime(qDate uint64, qTime uint32) time.Time
Example
d := uint64(0x000000000025805f)
t := uint32(0x049649db)
fmt.Println(QDateTime(d, t))
Output:

2016-11-02 21:22:38.171 +0000 UTC

func ReadStream

func ReadStream(r io.Reader) ([]byte, error)

ReadStream reads a single Qt stream

func ReadStreams

func ReadStreams(b []byte) ([][]byte, error)

ReadStreams reads all Qt streams from input It uses []byte instead of io.Reader because all decrypted data already are []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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