AppendBuffer appends bytes to the buffer. size must be of type uint32. bytes must be of type void* (alias of uint8*).
(s *S, bufPtr, size, bytes *codegen.Value)
| 88 | // size must be of type uint32. |
| 89 | // bytes must be of type void* (alias of uint8*). |
| 90 | func (c *C) AppendBuffer(s *S, bufPtr, size, bytes *codegen.Value) { |
| 91 | s.Call(c.buf.append, bufPtr, size, bytes) |
| 92 | } |
| 93 | |
| 94 | // AppendBufferData appends a data to the buffer from the given pointer. |
| 95 | func (c *C) AppendBufferData(s *S, bufPtr, ptr *codegen.Value) { |
no test coverage detected