//
pkg.gl
Category
github.com/php2go/netpollmux
internal
buffer
package
1.0.1
Repository:
https://github.com/php2go/netpollmux.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
1
Dependents
10
Files
85 SLOC
#
Functions
AssignPool
AssignPool assigns a fixed size bytes pool with the given size.
GetBuffer
GetBuffer returns a bytes from the pool with the given size.
NewBuffers
NewBuffers creates a new Buffers with the given page size.
PutBuffer
PutBuffer frees the bytes to the pool.
#
Structs
Buffers
Buffers contains buckets for sharding.
Pool
Pool represents a fixed size bytes pool.