pub fn FrameLen4Func(func: u8, buf: &[u8], cur_len: usize) -> Option<usize>
FrameLen4Func,获取func需要用到的数据长度 get the len for func_code