mirror of https://github.com/node-red/node-red.git
Display buffer data properly for truncated buffers under Object property
parent
c794ca85fd
commit
0646b0060e
|
@ -146,6 +146,9 @@ RED.utils = (function() {
|
|||
if (originalLength === undefined) {
|
||||
originalLength = data.length;
|
||||
}
|
||||
if (data.__encoded__) {
|
||||
data = data.data;
|
||||
}
|
||||
type = obj.type.toLowerCase();
|
||||
} else if (/buffer/.test(typeHint)) {
|
||||
type = 'buffer';
|
||||
|
|
Loading…
Reference in New Issue