From RAD Studio API Documentation
Jump to: navigation, search


function InOutString(SB: TStringBuilder; MaxLen: Integer): TPtrWrapper;


Type Visibility Source Unit Parent
function public System.SysUtils.pas System.SysUtils TMarshaller


Returns a wrapped pointer to a buffer.

The InOutString method returns a wrapped pointer to a buffer containing a copy of the character data in the SB TStringBuilder. The buffer is sized to allow up to MaxLen + 1 characters including the null terminator. When the marshaller is flushed or goes out of scope, the string is moved back into SB.

See Also