mirror of
https://github.com/impact-eintr/netstack.git
synced 2025-10-07 05:40:52 +08:00
google永远的神
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package buffer
|
||||
|
||||
type Prependable struct {
|
||||
buf View // Buf 是支持前置缓冲区的缓冲区
|
||||
usedIdx int // 是缓冲区的使用部分开始的索引
|
||||
}
|
||||
|
||||
func NewPrependable(size int) Prependable {
|
||||
|
Reference in New Issue
Block a user