Writing a serialized String but padding the underlying Vec
with null bytes.
#189
Unanswered
AbstractUmbra
asked this question in
Q&A
Replies: 1 comment
-
You should be able to just use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, furthering on from #187 I now have the following implementation:
However I noticed that the
reference
field will correctly read and parse into a String, but when it goes to be written it will not have the correct level of padding.I'm wondering if there is a way to pad this String with
\0
to fit the request size, either during the write here or in some process.Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions