Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @numBits

@numBits

Panther
Documentation


Note

Information on this page may be incorrect / out-of-date. An updated version of the site (powered by Panther!) is coming soon, which will include all fixes.

1: func @numBits = <{T: Type, INCLUDE_PADDING: Bool}> () -> USize;

  Get the number of bits of TypeID.

Template Parameters

  T: The type to get the TypeID of - cannot be Void

  INCLUDE_PADDING: If true, include padding bits in result

Parameters

  None.

Return Value

  The number of bits of type T

Example

(TODO)

See Also

@numBytes Get the number of bytes of TypeID