System.Types.TBitConverter.RangeCheckError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure RangeCheckError; static;

C++

static void __fastcall RangeCheckError();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Types.pas
System.Types.hpp
System.Types TBitConverter

Description

Note: Only C++ uses this method. Delphi calls System.Error(reRangeError) directly.

Raises a run-time error with code reRangeError.

RangeCheckError is a helper method that raises an exception if a conversion tries to access memory outside of the bounds of the Byte array.

See Also