• Splits a buffer into multiple chunks with a given maximum length.

    Parameters

    • buf: Buffer

      The buffer to split.

    • Optional maxBytes: number

      The maximum length of each chunk (default: web3.MAX_SEED_LENGTH).

    Returns Buffer[]

    An array of Buffers containing the split chunks.

Generated using TypeDoc