//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private java.util.List<Object> encodeDecode(ClientMessage message) throws ClientHandshakeException private IList <object> EncodeDecode(ClientMessage message) { ByteBuf byteBuf = Unpooled.directBuffer(); IList <object> output = new List <object>(); _encoder.encode(null, message, byteBuf); _decoder.decode(null, byteBuf, output); return(output); }