PHP 7.4.33
Preview: encoder.js Size: 285 B
/var/www/gtechmarathon2026.bitkit.dk/httpdocs/node_modules/postgres-bytea/encoder.js
'use strict'

const { Transform } = require('stream')

class ByteaEncoder extends Transform {
  constructor () {
    super()
    this.push('\\\\x')
  }

  _transform (chunk, encoding, callback) {
    this.push(chunk.toString('hex'))
    callback()
  }
}

module.exports = ByteaEncoder

Directory Contents

Dirs: 0 × Files: 10
Name Size Perms Modified Actions
411 B lrw-r--r-- 2025-07-10 12:54:56
Edit Download
975 B lrw-r--r-- 2025-07-10 12:54:56
Edit Download
818 B lrw-r--r-- 2025-07-10 12:54:56
Edit Download
1.53 KB lrw-r--r-- 2025-07-10 12:54:56
Edit Download
774 B lrw-r--r-- 2025-07-10 12:54:56
Edit Download
285 B lrw-r--r-- 2025-07-10 12:54:56
Edit Download
140 B lrw-r--r-- 2025-07-10 12:54:56
Edit Download
1.08 KB lrw-r--r-- 2025-07-10 12:54:56
Edit Download
708 B lrw-r--r-- 2025-07-10 12:54:56
Edit Download
2.48 KB lrw-r--r-- 2025-07-10 12:54:56
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).