src/org/jnetpcap/protocol/voip/Rtp.java
@HeaderLength(HeaderLength.Type.POSTFIX)
	public static int postfixLength(final JBuffer buffer, final int offset) {
		if ((buffer.getByte(offset) & PADDING_MASK) > 0) {
			return buffer.getUByte(buffer.size() - 1);
		} else {
			return 5;
		}
	}
/**
	 * Determines the length of Rtp padding if the header has been padded. If the
	 * Rtp.P bit is set, that means that last byte within the frame contains the
	 * number of bytes that were used to pad after the payload following this
	 * header.
	 * 
	 * @param buffer
	 *          buffer to read options and padding information from
	 * @param offset
	 *          offset to the start of the header
	 * @return number of bytes padding rtp payload or 0 if no padding bytes
	 */
Determines the length of Rtp padding if the header has been padded. If the
Rtp.P bit is set, that means that last byte within the frame contains the
number of bytes that were used to pad after the payload following this
header.

@param buffer
buffer to read options and padding information from
@param offset
offset to the start of the header
@return number of bytes padding rtp payload or 0 if no padding bytes
Determines the length of Rtp padding if the header has been padded . If the Rtp . P bit is set that means that last byte within the frame contains the number of bytes that were used to pad after the payload following this header . @param buffer buffer to read options and padding information from @param offset offset to the start of the header @return number of bytes padding rtp payload or 0 if no padding bytes
@HeaderLength(HeaderLength.Type.POSTFIX)
	public static int postfixLength(final JBuffer buffer, final int offset) {
		if ((buffer.getByte(offset) & PADDING_MASK) > 0) {
			return buffer.getUByte(buffer.size() - 1);
		} else {
			return 5;
		}
	}
@ HeaderLength ( HeaderLength . Type . POSTFIX ) public static int postfixLength ( final JBuffer buffer , final int offset ) { if ( ( buffer . getByte ( offset ) & PADDING_MASK ) > 0 ) { return buffer . getUByte ( buffer . size ( ) - 1 ) ; } else { return 5 ; } }
Determines the length of Rtp padding if the header has been padded.
Determines the length of Rtp padding if the header has been padded .