fix readUUID (wrong use of Buffer.slice)

This commit is contained in:
Romain Beaumont 2016-02-12 15:23:58 +01:00
parent 2c3e166ce8
commit bff7feda75

View File

@ -11,7 +11,7 @@ module.exports = {
function readUUID(buffer, offset) {
return {
value: UUID.stringify(buffer.slice(offset,16)),
value: UUID.stringify(buffer.slice(offset,16+offset)),
size: 16
};
}