projects
/
platform
/
framework
/
web
/
wrtjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[SignalingServer] Optimize dependent modules
[platform/framework/web/wrtjs.git]
/
device_home
/
node_modules
/
pngjs
/
lib
/
png-sync.js
1
'use strict';
2
3
4
var parse = require('./parser-sync');
5
var pack = require('./packer-sync');
6
7
8
exports.read = function(buffer, options) {
9
10
return parse(buffer, options || {});
11
};
12
13
exports.write = function(png, options) {
14
15
return pack(png, options);
16
};