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
I've decided the best course of action and to ease complexity with the {read|write}String methods is to separate the distinction between having and not having a null-termination. I'll amend this as it's being worked out.
The methods I'm looking to creating are:
ByteOutputwriteChars(CharSequencechars); // writes chars.length bytesByteOutputwriteChars(CharSequencechars, intlen); // pads with 0's or truncates stringByteOutputwriteString(CharSequencechars); // writes chars.length bytes and an extra 0 for null-terminationByteOutputwriteString(CharSequencechars, intlen); // writes string with null-termination or truncates string so final byte is 0CharSequencereadChars(intlen); // reads len bytes as a stringCharSequencereadString(); // reads bytes until null-termination is found
The text was updated successfully, but these errors were encountered:
I've decided the best course of action and to ease complexity with the
{read|write}String
methods is to separate the distinction between having and not having a null-termination. I'll amend this as it's being worked out.The methods I'm looking to creating are:
The text was updated successfully, but these errors were encountered: