Buffer

data() non-const [Buffer class]

Access the internal data buffer as a char *.

// PROTOTYPE
char* data()

Even though this type is normally used for c-strings, the buffer is arbitrary binary data and is not encoded with a null-terminator.