Versions in this module Expand all Collapse all v0 v0.0.3 Jul 27, 2021 Changes in this version + func Base64Decode(data *[]byte) ([]byte, error) + func Base64Encode(data *[]byte) []byte + func BatchReadConnection(conn io.Reader, delimitter byte, batchSize int, batchMax int) ([]byte, error) + func RandStringN(n int) string v0.0.2 Jun 13, 2021 Changes in this version + func Clear(data *[]byte) + func Concat(output *[]byte, input *[]byte, outputStart int) error + func Errorless(fn ErrorRunnable) + func NewErrorJson(str string) []byte + func StrTokWithEscape(seperator *[]byte, escape *[]byte, str *[]byte, start uint) ([]byte, uint) + type ErrorRunnable func() error + type ThreadPool struct + func NewDummyThreadPool() ThreadPool + func NewThreadPool(numberOfThreads int) ThreadPool + func NewThreadPoolWithContext(numberOfThreads int, outerContext context.Context) ThreadPool + func (tp ThreadPool) Finish(deadline time.Time) error + func (tp ThreadPool) SubmitFuncBlock(fun func(context.Context)) error + func (tp ThreadPool) SubmitFuncUnsafe(fun func(context.Context)) error