# Interface OptionalToFromNumLayoutItem<T, Signed>

#### Type Parameters

- #### T extends NumType

- #### Signed extends Boolean

#### Hierarchy

- NumLayoutItemBase<T, Signed>
- OptionalToFromCustom<T>
  - OptionalToFromNumLayoutItem

- Defined in core/base/src/utils/layout/layout.ts:62

#####
Index

### Properties

binary
custom?
endianness?
size

## Properties

### `Readonly` binary

binary: Signed extends true
? "int"
: "uint"

Inherited from NumLayoutItemBase.binary

- Defined in core/base/src/utils/layout/layout.ts:40

### `Optional` custom

custom?: layout.FixedConversion<T, any> | layout.CustomConversion<T, any>

Inherited from OptionalToFromCustom.custom

- Defined in core/base/src/utils/layout/layout.ts:49

### `Optional` endianness

endianness?: Endianness

Inherited from NumLayoutItemBase.endianness

- Defined in core/base/src/utils/layout/layout.ts:56

### size

size: T extends bigint
? number
: NumberSize

Inherited from NumLayoutItemBase.size

- Defined in core/base/src/utils/layout/layout.ts:55

Generated using TypeDoc