public void Add(byte x) { CommonPINVOKE.ByteBuffer_Add(swigCPtr, x); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } }