Replaced int2bytes -> data.write(....'binary') with an int2buf(number, buffer, start, length) method which writes the integer of length bytes directly into the bytes of the buffer specified by the start. Replaces some really clunky code.
Replaced int2bytes -> data.write(....'binary') with an int2buf(number, buffer, start, length) method which writes the integer of length bytes directly into the bytes of the buffer specified by the start. Replaces some really clunky code.
guytuboul/node-apn,F4-Group/node-apn,telerik/node-apn,tempbottle/node-apn,maximeloizeau/node-apn,madshell/node-apn,futurice/node-apn,guoyu07/node-apn,hilllinux/node-apn,lopper/node-apn,argon/node-apn,node-apn/node-apn