uCalc API Version: 5.7.0-preview.1 Released: 7/30/2026

Warning

uCalc API Preview Release Notice:This preview documentation describes the intended behavior of the API. It is not fully accurate or complete.The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.Use of the preview version in your production code is not recommended.

Data(IntPtr, int)

Method

Product: 

Class: 

Attaches a uCalc string to a raw string address in memory

Syntax

Data(IntPtr, int)

Parameters

StringAddress
IntPtr
Address in memory of raw string
Size
int
Number of characters

Return

String

Remarks

This sets a uCalc string based on a memory address and a size. This is faster than copying one string to another. The original string address must remain valid when this new string is used, until this string is released or its value is changed, at which point it will no longer depend on the original raw address.

Examples