MCPcopy
hub / github.com/electric-sql/pglite / concat

Method concat

packages/pg-protocol/test/testing/buffer-list.ts:76–82  ·  view source on GitHub ↗
(...args: ArrayBuffer[])

Source from the content-addressed store, hash-verified

74 }
75
76 public static concat(...args: ArrayBuffer[]): Uint8Array {
77 const total = new BufferList()
78 for (let i = 0; i < args.length; i++) {
79 total.add(args[i])
80 }
81 return new Uint8Array(total.join())
82 }
83}

Callers

nothing calls this directly

Calls 2

addMethod · 0.95
joinMethod · 0.95

Tested by

no test coverage detected