private static void assertValidExtraFieldSize(byte @NotNull [] bytes) {
    if (bytes.length > 0xFFFF) {
      throw new IllegalArgumentException("invalid extra field length");
    }
  }
private static void assertValidExtraFieldSize(byte @NotNull [] bytes)