Skip to content

How to take receipt of an 8-bit string? #346

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

You must be logged in to vote

If you want to receive bytes (binary string) you can use LuaString directly or try bstr::BString type.
LuaString has ‘as_bytes’ method to get a slice of raw bytes

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@drauschenbach
Comment options

Answer selected by drauschenbach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants