[minor] Use `Buffer.isBuffer` instead of the `typeof` operator
[minor] Use `Buffer.isBuffer` instead of the `typeof` operator

STRML/primus,primus/primus,primus/primus,primus/primus,STRML/primus,STRML/primus