I want the Go package github.com/panjf2000/gnet/v2/pkg/buffer/elastic to provide a stateful ordered byte…
I want the Go package github.com/panjf2000/gnet/v2/pkg/buffer/elastic to provide a stateful ordered byte…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). The returned Buffer should support Read( byte) (int, error) , Peek(int) ( byte, error) , Discard(int) (int…
The task
The returned `*Buffer` should support `Read([]byte) (int, error)`, `Peek(int) ([][]byte, error)`, `Discard(int) (int, error)`, `Write([]byte) (int, error)`, `Writev([][]byte) (int, error)`, `ReadFrom(io.Reader) (int64, error)`, `WriteTo(io.Writer) (int64, error)`, `Buffered() int`, `IsEmpty() bool`,…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.