Package jakarta.websocket
Interface Decoder.BinaryStream<T>
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface jakarta.websocket.DecoderDecoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Tdecode(InputStream is)Decode the given bytes read from the input stream into an object of type T.
 
- 
- 
- 
Method Detail- 
decodeT decode(InputStream is) throws DecodeException, IOException 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 T
- IOException- If an error occurs reading the input stream
 
 
- 
 
-