Interface ZstdResult
- All Known Implementing Classes:
ZstdResult.Error, ZstdResult.Ok
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final record -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheck(long result) static ZstdResultfrom(long result) default ZstdResult.Ok
-
Method Details
-
from
-
check
- Throws:
ZstdException
-
orElseThrow
- Throws:
ZstdException
-