Documentation
¶
Index ¶
- func BytesToIOReader(buf []byte) io.Reader
- func BytesToJpeg(buf []byte) (image.Image, error)
- func BytesToPng(buf []byte) (image.Image, error)
- func BytesToString(b []byte) string
- func BytesToUint64(b []byte) uint64
- func IOReaderToBytes(r io.Reader) ([]byte, error)
- func Join(s [][]byte) []byte
- func JpegToBytes(img image.Image) ([]byte, error)
- func PngToBytes(img image.Image) ([]byte, error)
- func Split(buf []byte, limit int) [][]byte
- func StringToBytes(s string) []byte
- func Uint64ToBytes(i uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToIOReader ¶
BytesToIOReader bytes => io.Reader
func IOReaderToBytes ¶
IOReaderToBytes read contents from io.Reader
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.