@@ -447,7 +447,7 @@ else if (v < (1 << 7)) {
447447 * <p>
448448 * This method writes an integer using the smallest format from the int format family.
449449 *
450- * @param v the integer to be written
450+ * @param r the integer to be written
451451 * @return this
452452 * @throws IOException when underlaying output throws IOException
453453 */
@@ -570,7 +570,7 @@ else if (bi.bitLength() == 64 && bi.signum() == 1) {
570570 * <p>
571571 * This method writes a float value using float format family.
572572 *
573- * @param bi the integer to be written
573+ * @param v the value to be written
574574 * @return this
575575 * @throws IOException when underlaying output throws IOException
576576 */
@@ -587,7 +587,7 @@ public MessagePacker packFloat(float v)
587587 * <p>
588588 * This method writes a float value using float format family.
589589 *
590- * @param bi the integer to be written
590+ * @param v the value to be written
591591 * @return this
592592 * @throws IOException when underlaying output throws IOException
593593 */
@@ -826,7 +826,8 @@ public MessagePacker packValue(Value v)
826826 * <p>
827827 * You will call {@link #writePayload(byte[])} or {@link #addPayload(byte[])} method to write body binary.
828828 *
829- * @param len number of bytes of a payload binary to be written
829+ * @param extType the extension type tag to be written
830+ * @param payloadLen number of bytes of a payload binary to be written
830831 * @return this
831832 * @throws IOException when underlaying output throws IOException
832833 */
@@ -972,9 +973,9 @@ public MessagePacker writePayload(byte[] src, int off, int len)
972973 /**
973974 * Writes a byte array to the output.
974975 * <p>
975- * Unlike {@link #writePayload} method, this method doesn't copy the byte array even when given byte array
976- * is shorter than {@link MessagePack.PackerConfig#withBufferFlushThreshold(int)}. This is faster than
977- * {@link writePayload} method but caller must not modify the byte array after calling this method.
976+ * Unlike {@link #writePayload(byte[]) } method, this method doesn't copy the byte array even when given byte
977+ * array is shorter than {@link MessagePack.PackerConfig#withBufferFlushThreshold(int)}. This is faster than
978+ * {@link # writePayload(byte[]) } method but caller must not modify the byte array after calling this method.
978979 *
979980 * @param src the data to add
980981 * @return this
@@ -989,9 +990,10 @@ public MessagePacker addPayload(byte[] src)
989990 /**
990991 * Writes a byte array to the output.
991992 * <p>
992- * Unlike {@link #writePayload} method, this method doesn't copy the byte array even when given byte array
993- * is shorter than {@link MessagePack.PackerConfig#withBufferFlushThreshold(int)}. This is faster than
994- * {@link writePayload} method but caller must not modify the byte array after calling this method.
993+ * Unlike {@link #writePayload(byte[], int, int)} method, this method doesn't copy the byte array even when
994+ * given byte array is shorter than {@link MessagePack.PackerConfig#withBufferFlushThreshold(int)}.
995+ * This is faster than {@link #writePayload(byte[], int, int)} method but caller must not modify the byte array
996+ * after calling this method.
995997 *
996998 * @param src the data to add
997999 * @param off the start offset in the data
0 commit comments