-
-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Milestone
Description
I've encountered an issue when working with cbor where it looks like the writeRawUtf8String is ignoring the offset. I'm no expert, but it looks like this:
jackson-dataformats-binary/cbor/src/main/java/tools/jackson/dataformat/cbor/CBORGenerator.java
Line 870 in 3f7a994
| _writeBytes(raw, 0, len); |
In my version the method's source is:
@Override
public void writeRawUTF8String(byte[] raw, int offset, int len)
throws IOException
{
_verifyValueWrite("write String value");
if (len == 0) {
_writeByte(BYTE_EMPTY_STRING);
return;
}
_writeLengthMarker(PREFIX_TYPE_TEXT, len);
_writeBytes(raw, 0, len);
}
And it certainly isn't touching the offset parameter. I need that one!
Metadata
Metadata
Assignees
Labels
No labels