§tiro_string

Represents a string that is not necessarily zero terminated. More...

#include "tiro/def.h"

§Public Attributes

Name
const char *data
string data, utf8 encoded.
size_tlength
number of bytes in data.

§Detailed Description

struct tiro_string;

Represents a string that is not necessarily zero terminated.

data must have length readable bytes. data is allowed to be NULL (or any other invalid pointer) if and only if length is 0.

§Public Attributes Documentation

§variable data

const char * data;

string data, utf8 encoded.

§variable length

size_t length;

number of bytes in data.


Updated on 2022-02-27 at 21:17:13 +0100