// data is another ByteBuf objectByteBuf d = Unpooled.buffer(2 + data.array().lengthidentifiers[0]).writeByte(identifiers[1]).writeBytes(data.array());ByteBuf d = Unpooled.buffer我还想知道我这样做是否正确,我正在使用Unpooled.buf
ERROR (node:8) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issuesPlease use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.我知道Buffer()是不受欢迎的,我的代码中没有任何代码使用它,但是我的依赖项在使用它的链中很远,而且我不能立即修复它,所以