BinWriter interface is used for encoding values. Types like bytes.Buffer conform to this interface. We expect the writer objects to be in-memory buffers. So, we don't expect the write operations to fail.
| 67 | // We expect the writer objects to be in-memory buffers. |
| 68 | // So, we don't expect the write operations to fail. |
| 69 | BinWriter interface { |
| 70 | Write([]byte) (int, error) |
| 71 | } |
| 72 | |
| 73 | // Value can store any SQL value. If the value represents |
| 74 | // an integral type, the bytes are always stored as a canonical |
no outgoing calls
no test coverage detected
searching dependent graphs…