WPILibC++  2020.3.2-60-g3011ebe
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

◆ len

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.

◆ str

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: