[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

TByteHelper

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Helper for a byte-typed ordinal value

Declaration

Source position: syshelph.inc line 384

type TByteHelper = type helper

public

Const

  MaxValue = 255

  

Maximum value for a byte

  MinValue = 0

  

Minimum value for a byte

  class function Parse();

  

Convert from a string

  class function Size;

  

Size, in bytes, of the byte value

  class function ToString();

  

Convert the value to string

  class function TryParse();

  

Try to convert a string to a byte, report success or failure

  function ToBoolean;

  

Convert to a boolean value

  function ToDouble;

  

Convert to a double-sized floating point value

  function ToExtended;

  

Convert to an extended-sized floating point value

  function ToBinString;

  function ToHexString();

  

Convert to a hexadecimal string representation

  function ToSingle;

  

Convert to an single-sized floating point value

  function SetBit();

  function ClearBit();

  function ToggleBit();

  function TestBit();

end;

Inheritance

TByteHelper

  

Helper for a byte-typed ordinal value

Description

TByteHelper contains some auxiliary routines for a byte-typed ordinal value. It consists mainly of conversion routines to and from other types.

See also

TStringHelper

  

Helper type for strings.

TShortIntHelper

  

Helper for a ShortInt-typed ordinal value

TSmallIntHelper

  

Helper for a SmallInt-typed ordinal value

TWordHelper

  

Helper for a Word-typed ordinal value

TCardinalHelper

  

Helper for a Cardinal-typed ordinal value

TIntegerHelper

  

Helper for a Integer-typed ordinal value

TInt64Helper

  

Helper for a Int64-typed ordinal value

TQWordHelper

  

Helper for a QWord-typed ordinal value

TNativeIntHelper

  

Helper for a NativeInt-typed ordinal value

TNativeUIntHelper

  

Helper for a NativeUInt-typed ordinal value


Documentation generated on: May 14 2021