(e *encoder)
| 149 | } |
| 150 | |
| 151 | func (o *optInfo) encode(e *encoder) { |
| 152 | e.writeUint32(uint32(len(o.name))) |
| 153 | e.writeString(o.name) |
| 154 | e.writeUint16(uint16(len(o.reqs))) |
| 155 | for _, r := range o.reqs { |
| 156 | e.writeUint16(r) |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | type errno uint32 |
| 161 |
nothing calls this directly
no test coverage detected