File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
pg/src/main/java/org/bouncycastle/bcpg Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -339,14 +339,6 @@ public void writePacket(
339339 p .encode (this );
340340 }
341341
342- /**
343- * Write a packet to the stream.
344- * The packet will use the old encoding format if {@link #packetFormat} is {@link PacketFormat#LEGACY}, otherwise
345- * it will be encoded using the new packet format.
346- * @param tag packet tag
347- * @param body packet body
348- * @throws IOException
349- */
350342 void writeShort (short n )
351343 throws IOException
352344 {
@@ -363,6 +355,14 @@ void writeInt(int n)
363355 out .write (n );
364356 }
365357
358+ /**
359+ * Write a packet to the stream.
360+ * The packet will use the old encoding format if {@link #packetFormat} is {@link PacketFormat#LEGACY}, otherwise
361+ * it will be encoded using the new packet format.
362+ * @param tag packet tag
363+ * @param body packet body
364+ * @throws IOException
365+ */
366366 void writePacket (
367367 int tag ,
368368 byte [] body )
You can’t perform that action at this time.
0 commit comments