# Generated String and Binary Field Functions

> The eXtremeDB string and binary database fields are of the following types: fixed length arrays of type `char`, `nchar`, `wchar,binary` and fields of type `string` (variable length char array), `nstring` ( variable length `nchar` array), `wstring` ( variable length `wchar` array) and `varbinary` (( variable length `binary` array). Please use the links in the following table to view details and examples of these generated APIs:

> classname_fieldname_put(char or string) | Assign a value into a string or char array
> classname_fieldname_put(binary) | Assign a value into a binary field
> classname_fieldname_get(char) | Retrieve a value into a char array
> classname_fieldname_get(string) | Retrieve a value into a string
> classname_fieldname_get(binary) | Retrieve a value into a fixed size binary array
> classname_fieldname_get(varbinary) | Retrieve a value into a varbinary array
> classname_fieldname_size(string) | Returns the number of bytes (for `wstring` fields the count of symbols) in the string
> Structure equivalents
> structname_fieldname_put(char or string) | Assign a value into a string or char array
> structname_fieldname_get(char) | Retrieve a value into a char array
> structname_fieldname_get(string) | Retrieve a value into a string
> structname_fieldname_size(string) | returns the number of bytes in the string