'Calculate the maximum amount of bytes that can be in a body frame.
:rtype: int'

def _get_body_frame_max_length(self):

    return ((self.params.frame_max - spec.FRAME_HEADER_SIZE) - spec.FRAME_END_SIZE)
