You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert a string to a contiguous byte array representation
appropriate for passing it to C functions. The string will be
encoded as either ASCII or UTF-8.
It isn't clear whether the string will be null-terminated or not. I can fix this if you tell me whether it's the case or not.
(Also, it might be clearer to replace s with s::String.)
The text was updated successfully, but these errors were encountered:
The underlying data will be a Vector{Uint8}, which always has an implicit zero byte after the end (it's put there by the runtime system, but you can't see it).
?bytestring says:
It isn't clear whether the string will be null-terminated or not. I can fix this if you tell me whether it's the case or not.
(Also, it might be clearer to replace
s
withs::String
.)The text was updated successfully, but these errors were encountered: