Package jakarta.websocket
Interface Decoder.BinaryStream<T>
- Type Parameters:
 T- The type of the object that is decoded
- All Superinterfaces:
 Decoder
- Enclosing interface:
 - Decoder
 
This interface defines how a custom object is decoded from a web socket message in the form of a binary stream.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.websocket.Decoder
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T> - 
Method Summary
Modifier and TypeMethodDescriptiondecode(InputStream is) Decode the given bytes read from the input stream into an object of type T. 
- 
Method Details
- 
decode
Decode the given bytes read from the input stream into an object of type T.- Parameters:
 is- the input stream carrying the bytes.- Returns:
 - the decoded object.
 - Throws:
 DecodeException- If the provided input stream cannot be decoded to type TIOException- If an error occurs reading the input stream
 
 -