Buffer

data() const [Buffer class]

Access the internal data buffer as a const char *.

// PROTOTYPE
const char* data() const 

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