private static ByteBuf safeBuffer(ByteBufHolder holder) { return safeBuffer(holder.content()); }
private static ByteBuf safeBuffer(ByteBufHolder holder, ByteBufAllocator allocator) { return safeBuffer(holder.content(), allocator); }