function align(buffer, offset, size) {
  const aligned = new ArrayBuffer(size)
  new Uint8Array(aligned).set(new Uint8Array(buffer, offset, size))
  return aligned
}
Create a new buffer with the offset and size.

@import {DataReader, DecodedArray, ParquetType} from '../src/types.d.ts'
@param {ArrayBufferLike} buffer
@param {number} offset
@param {number} size
@returns {ArrayBuffer}