Sorry for the machine translation
Is type ByteBuffer in the type definition file index.d.ts of @ types / fabric-client the same as Buffer?
Please tell me if you have any other good inquiries.
No, a ByteBuffer and Buffer are different objects. The Buffer is native to node.js and ByteBuffer is an npm package (see https://www.npmjs.com/package/bytebuffer ). For example, see https://github.com/dcodeIO/ByteBuffer.js/issues/1 for converting a ByteBuffer to Buffer.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.