Documentation ¶
Index ¶
- func DecompressBZip2(val []byte) ([]byte, error)
- func DecompressZlib(val []byte) ([]byte, error)
- func GetListElement(l *list.List, index int) (*list.Element, bool)
- func MinInt64(a, b int64) int64
- func MinUint32(a, b uint32) uint32
- func PadBytes(buf []byte, targetLen int) []byte
- func SkipDecompress(val []byte) ([]byte, error)
- func ToMap[K comparable, T any](keys []K, vals []T) map[K]T
- func UTF16ToUTF8(in []byte) string
- func UTF8ToUTF16(utf8Bytes []byte) []byte
- func WriteWithSum(dest io.Writer, obj interface{}) (n int, sum uint32, err error)
- type Decompressor
- type EWFReader
- type EWFWriter
- type ZlibCompressor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecompressBZip2 ¶
func DecompressZlib ¶
func SkipDecompress ¶
func ToMap ¶
func ToMap[K comparable, T any](keys []K, vals []T) map[K]T
func UTF16ToUTF8 ¶
func UTF8ToUTF16 ¶
Types ¶
type Decompressor ¶
type EWFWriter ¶
type EWFWriter interface { io.WriteCloser }
type ZlibCompressor ¶
type ZlibCompressor struct {
// contains filtered or unexported fields
}
func NewZlibCompressor ¶
func NewZlibCompressor() (*ZlibCompressor, error)
func (*ZlibCompressor) Reset ¶
func (c *ZlibCompressor) Reset()
Click to show internal directories.
Click to hide internal directories.