MCPcopy Create free account
hub / github.com/Monibuca/engine / ToBytes

Method ToBytes

util/pool.go:258–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256}
257
258func (list *BLL) ToBytes() (b []byte) {
259 b = make([]byte, 0, list.ByteLength)
260 list.Range(func(item Buffer) bool {
261 b = append(b, item...)
262 return true
263 })
264 return
265}
266
267// 全部回收掉
268func (list *BLL) Recycle() {

Callers 3

WriteAVCCMethod · 0.45
WriteAVCCMethod · 0.45
ToBytesMethod · 0.45

Calls 1

RangeMethod · 0.45

Tested by

no test coverage detected