Package net.kyori.adventure.util
Interface Codec.Decoder<D,E,X extends Throwable>
- Type Parameters:
D- the decoded typeE- the encoded typeX- the exception type
public static interface Codec.Decoder<D,E,X extends Throwable>
A decoder.
- Since:
- 4.0.0
-
Method Summary
-
Method Details
-
decode
Decodes.- Parameters:
encoded- the encoded input- Returns:
- the decoded value
- Throws:
X- if an exception is encountered while decoding- Since:
- 4.0.0
-