UNPKG
psd
Version:
latest (3.4.0)
3.4.0
3.3.0
3.2.2
3.2.1
3.2.0
3.1.0
3.0.0
2.1.0
2.0.0
1.1.0
1.0.2
1.0.1
0.0.4
0.0.3
0.0.2
0.0.1
A general purpose Photoshop file parser.
github.com/meltingice/psd.js
meltingice/psd.js
psd
/
lib
/
psd
/
layer_info
/
unicode_name.coffee
11 lines
(8 loc)
•
252 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
LayerInfo
=
require
'../layer_info.coffee'
module
.exports =
class
UnicodeName
extends
LayerInfo
@shouldParse
: (key) -> key is
'luni'
parse:
-> pos =
@file
.tell()
@data
=
@file
.readUnicodeString()
@file
.seek pos +
@length
return
@