⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

SpatialEntity.TryGetMarkerData

bool TryGetMarkerData(Byte[]& data, Int32& size)

The marker’s raw decoded bytes, copied into an array you keep, so repeated reads don’t allocate. The array only grows when it’s too small, so use size rather than its length.

   
Byte[]& data An array to copy the bytes into. Null is fine, it’s created as needed.
Int32& size How many bytes in the array belong to this marker.
RETURNS: bool False if the marker has no binary data.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!