DART – Convert BLOB to LIST

I am using protocol buffers in dart, but there is a problem due to the way the data is received from the web socket connection. The binary data is received as a Blob, and the constructor of the protobuf message expects List< int>. How do I convert Blob to List?
I can achieve this function by setting the binaryType property on the WebSocket object to “arraybuffer”.

< /p>

webSocket.binaryType = “arraybuffer”;

I am using protocol buffers in dart, but due to the way the data is received from the web socket connection And there is a problem. Binary data is received as Blob, and the constructor of protobuf message expects List. How can I convert Blob to List?

I can achieve this function by setting the binaryType property on the WebSocket object to “arraybuffer”.

webSocket.binaryType = “arraybuffer ”;

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2462 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.