ZeroBuf
ZeroBuf copied to clipboard
Problem with ZeroBuff and [string] type
I'm Cristian Rodriguez, from the group working back in URJC/UPM with Pablo Toharia. Right now I'm trying to use a custom ZeroBuff fbs file that required a std::vector of char* (or vector
namespace zeroeq.gmrv;
table SelectionStr
{
ids:[string];
}
I've seen in the python script (zerobufCxx) it converts string to zerobuf::Vector< char >. With the following fbs, I get the same result in the two attributes:
namespace zeroeq.gmrv;
table SelectionStr
{
fooStrArr:[string];
fooStr:string;
}
I had been trying to modify your Python script to generate std::vector
Hi Cristian,
ZeroBuf does not yet support dynamic arrays of dynamic-sized types. This is on the list, but due to the complexity of implementing the allocator code not a very popular topic. ;)