ComfyUI Node
to bytes
Converts an integer to its byte representation. This node takes an integer, byte length, and byte order as inputs and returns the bytes object representation of the integer.
to bytes
- BYTES
◄int_value0►
◄length4►
◄byteorderbig►
◄signedFalse►
CategoryBasic/INT
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| int_value | INT | 0 | — |
| length | INT | 4 | — |
| byteorder | COMBO | big | 2 options: big, little |
| signed | COMBO | False | 2 options: True, False |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| BYTES | BYTES | — |