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
If you write an open list, end it, and then write a footer the validation logic for the number of bytes fails. The length reported in the footer and the calculated length are off by one. Here is a example that produces the error
I believe the cause is in the beginOpenList method of FressianWriter
publicWriterbeginOpenList() throwsIOException {
if (0 != rawOut.getBytesWritten())
thrownewIllegalStateException("openList must be called from the top level, outside any footer context.");
writeCode(Codes.BEGIN_OPEN_LIST);
rawOut.reset();
returnthis;
}
The byte code for the open list is written, then the stream is reset making the reported number of bytes written zero, not one.
The text was updated successfully, but these errors were encountered:
If you write an open list, end it, and then write a footer the validation logic for the number of bytes fails. The length reported in the footer and the calculated length are off by one. Here is a example that produces the error
I believe the cause is in the beginOpenList method of FressianWriter
The byte code for the open list is written, then the stream is reset making the reported number of bytes written zero, not one.
The text was updated successfully, but these errors were encountered: