Java-style String Parser #6
Labels
No Label
Bug
Build Problems
Discussion
Distribution
Enhancement
Far Future
Fix Later
TODO
WONTFIX
Workflow
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Blocks
#12 NBT: Implement NBT::helper::readString
BodgeMaster/FOSS-VG
Reference: BodgeMaster/FOSS-VG#6
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
We need to convert back and forth between Java’s modified UTF-8 and proper UTF-8.
Should preferably come with its own data type that can spit out both forms depending on what it needed. It should also be aware of both the real length as well as the length of the string in Java form.
As discussed with @AmoldyBuffalo:
For now, ignore dealing with NUL bytes, because C-style strings are NUL terminated. Throw an error when trying to parse a NUL byte from a Java-style string.