TInteger.GetByteCount

Returns the minimum number of bytes needed to store the 2's complement representation including the sign bit

Source

Integer.pas (109)