(v string)
| 53 | } |
| 54 | |
| 55 | func (self *Stream) WriteString(v string) { |
| 56 | rawStr := []byte(v) |
| 57 | |
| 58 | binary.Write(&self.buf, binary.LittleEndian, int32(len(rawStr))) |
| 59 | |
| 60 | binary.Write(&self.buf, binary.LittleEndian, rawStr) |
| 61 | } |
| 62 | |
| 63 | func (self *Stream) WriteBytes(v []byte) { |
| 64 |
no test coverage detected