JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
net.kyori.adventure.api
net.kyori.adventure.util
Codec
Encoder
Contents
Description
Method Summary
Method Details
encode(D)
Hide sidebar
Show sidebar
Interface Codec.Encoder<D, E, X extends
Throwable
>
Type Parameters:
D
- the decoded type
E
- the encoded type
X
- the exception type
Enclosing interface:
Codec
<
D
,
E
,
DX
extends
Throwable
,
EX
extends
Throwable
>
public static interface
Codec.Encoder<D, E, X extends
Throwable
>
An encoder.
Since:
4.0.0
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
E
encode
(
D
decoded)
Encodes.
Method Details
encode
E
encode
(
D
decoded)
throws
X
Encodes.
Parameters:
decoded
- the decoded value
Returns:
the encoded output
Throws:
X
- if an exception is encountered while encoding
Since:
4.0.0