1
hao
2025-05-19 8ef9c48b03ec22db9a56746f898993cb41eb4753
1
2
3
4
5
6
7
8
9
10
11
12
"use strict";
 
let parse = require("./parser-sync");
let pack = require("./packer-sync");
 
exports.read = function (buffer, options) {
  return parse(buffer, options || {});
};
 
exports.write = function (png, options) {
  return pack(png, options);
};