TransactionParser
    Preparing search index...

    Function readFileAsBuffer

    • Read a file into buffer instead of string

      Parameters

      • path: string

        Path to the file

      Returns Buffer

      Content of file as buffer array

      If the file contains multiple lines, it will be returned as one buffer.

      Hex 15 / Decimal 21 (new line) will not be taken into account. Use splitBufferOnNewLine for this