public int LastIndexOf(byte value) { int ret = CommonPINVOKE.ByteBuffer_LastIndexOf(swigCPtr, value); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }