WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
NT_String Struct Reference

A NetworkTables string. More...

#include <ntcore_c.h>

Public Attributes

char * str
 String contents (UTF-8). More...
 
size_t len
 Length of the string in bytes. More...
 

Detailed Description

A NetworkTables string.

Member Data Documentation

size_t NT_String::len

Length of the string in bytes.

If the string happens to be zero terminated, this does not include the zero-termination.

char* NT_String::str

String contents (UTF-8).

The string is NOT required to be zero-terminated. When returned by the library, this is zero-terminated and allocated with std::malloc().


The documentation for this struct was generated from the following file: