Module 668459

932 characters · in no known chunk
Dependencies
Lazily required by (0)none
Requires (1)
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(890167);let i={1:1,2:1,3:2,4:4,5:8,7:1,9:4,10:8,13:4},s={BYTE:1,ASCII:2,SHORT:3,LONG:4,RATIONAL:5,UNDEFINED:7,SLONG:9,SRATIONAL:10,IFD:13},a={getAsciiValue:o,getByteAt:l,getAsciiAt:u,getShortAt:c,getLongAt:d,getRationalAt:_,getUndefinedAt:f,getSlongAt:p,getSrationalAt:h,getIfdPointerAt:m,typeSizes:i,tagTypes:s,getTypeSize:E};function o(e){return e.map(e=>String.fromCharCode(e))}function l(e,t){return e.getUint8(t)}function u(e,t){return e.getUint8(t)}function c(e,t,n){return e.getUint16(t,n===r.A.LITTLE_ENDIAN)}function d(e,t,n){return e.getUint32(t,n===r.A.LITTLE_ENDIAN)}function _(e,t,n){return[d(e,t,n),d(e,t+4,n)]}function f(e,t){return l(e,t)}function p(e,t,n){return e.getInt32(t,n===r.A.LITTLE_ENDIAN)}function h(e,t,n){return[p(e,t,n),p(e,t+4,n)]}function m(e,t,n){return d(e,t,n)}function E(e){if(void 0===s[e])throw Error("No such type found.");return i[s[e]]}}