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.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
to bytes
    • BYTES
    int_value0
    length4
    byteorderbig
    signedFalse
    CategoryBasic/INT

    Inputs (4)

    NameTypeDefaultDescription
    int_valueINT0
    lengthINT4
    byteorderCOMBObig2 options: big, little
    signedCOMBOFalse2 options: True, False

    Outputs (1)

    NameTypeDescription
    BYTESBYTES