public static size_t EnsureZstdSuccess(this size_t returnValue) { if (ExternMethods.ZSTD_isError(returnValue) != 0) { ThrowException(returnValue, Marshal.PtrToStringAnsi(ExternMethods.ZSTD_getErrorName(returnValue))); } return(returnValue); }
// Token: 0x0600003C RID: 60 RVA: 0x0000285A File Offset: 0x00000A5A public static UIntPtr EnsureZstdSuccess(this UIntPtr returnValue) { if (ExternMethods.ZSTD_isError(returnValue) != 0u) { ReturnValueExtensions.ThrowException(returnValue, Marshal.PtrToStringAnsi(ExternMethods.ZSTD_getErrorName(returnValue))); } return(returnValue); }