code: private static void encodeExtras(ByteBuf buf, ByteBuf extras) {
          if (extras == null || !extras.isReadable()) {
              return;
          }
  
          buf.writeBytes(extras);
      }
docs: Encode the extras.
  
  @param buf    the {@link ByteBuf} to write into.
  @param extras the extras to encode.