Skip to content

Can't seem to print the contents of a buffer (getting 0 values) #3989

Closed Answered by BLuchterhand
BLuchterhand asked this question in Q&A
Discussion options

You must be logged in to vote

I'll leave this up as a cautionary tale for "always double-check your data types"...
As you can see, I was casting this data into a Vec, when my data was actually of type Vec<64>. Because my number was so small and it was only gathering the first few bits of the floating point number, it was printing out 0...

solved :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BLuchterhand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant