Skip to content

SdlSave

Save all the data into a file path.

Definition

Unit: Neslib.Sdl3.IO

procedure SdlSave(const AFilename: String; const AData: Pointer; 
  const ADataSize: NativeInt); inline

Parameters

AFilename: String : The path to write all available data into.

AData: Pointer : The data to be written. If ADataSize is 0, may be nil or a invalid pointer.

ADataSize: NativeInt : The number of bytes to be written.

Exceptions

ESdlError: Raised on failure.

See Also

Remarks

This routine is not thread safe.