import { Blob } from "./Blob";

export class File extends Blob {
  constructor(
    readonly bits: number[],
    readonly name: string,
    readonly lastModified: number,
    readonly size: number,
    readonly type: string
  ) {
    super(Buffer.from(bits), {
      type: type
    });
  }
}
