public int getFrameLength ( ) { int length = frameData . length + FRAME_HEAD_SIZE ; if ( grouped ) { length ++ ; } if ( encrypted ) { length ++ ; } if ( lengthIndicator ) { length += 4 ; } return length ; }
Return the length of this frame in bytes including the header .