(n int)
| 149 | } |
| 150 | |
| 151 | func (b *readBuffer) Next(n int) []byte { |
| 152 | s := b.Bytes[b.pos : b.pos+n] |
| 153 | b.pos += n |
| 154 | return s |
| 155 | } |
| 156 | |
| 157 | func (s *Socket) deserialize(b []byte) error { |
| 158 | if len(b) < sizeofSocket { |
no outgoing calls
no test coverage detected