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