public C_Buffer set(ErrorTypeAddFriend rhs) { m_buf[m_index] = System.Convert.ToByte(rhs); ++m_index; ++m_length; return(this); }
public C_Buffer get(ref ErrorTypeAddFriend m_errorType) { if (m_length <= m_index) { return(this); } m_errorType = (ErrorTypeAddFriend)m_buf[m_index]; ++m_index; return(this); }