Extract the data as a slice and take ownership of it.
When true is passed as an argument, this function behaves like dmd.utils.toDString(thisbuffer.extractChars()).
When true, the data will be null terminated. This is useful to call C functions or store the result in Strings. Defaults to false.
See Implementation
Extract the data as a slice and take ownership of it.
When true is passed as an argument, this function behaves like dmd.utils.toDString(thisbuffer.extractChars()).