mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-01 21:20:01 +00:00
12 lines
183 B
Go
12 lines
183 B
Go
package protocol
|
|
|
|
// Buffer for reading responses or writing requests.
|
|
type buffer struct {
|
|
Bytes []byte
|
|
Offset int
|
|
}
|
|
|
|
func (b *buffer) Advance(amount int) {
|
|
b.Offset += amount
|
|
}
|