Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SID_TO_FLEX_SYM_SWITCH_MARKER #673

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ private Ion_1_1_Constants() {}
static final int FIRST_2_BYTE_SYMBOL_ADDRESS = 256;
static final int FIRST_MANY_BYTE_SYMBOL_ADDRESS = 65792;

static final byte SID_TO_FLEX_SYM_SWITCH_MARKER = 0;
static final byte SID_TO_FLEX_SYM_SWITCH_MARKER = FlexInt.ZERO;

public static final int MAX_NANOSECONDS = 999999999;
public static final int NANOSECOND_SCALE = 9;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ class IonRawBinaryWriterTest_1_1 {
17 | Length = 11
81 | SID 64
5E | true
00 | switch to FlexSym encoding
01 | switch to FlexSym encoding
FB 66 6F 6F | FlexSym 'foo'
5E | true
02 01 | FlexSym SID 64
Expand Down Expand Up @@ -571,7 +571,7 @@ class IonRawBinaryWriterTest_1_1 {
17 | Length = FlexUInt 11
03 | SID 1
5E | true
00 | switch to FlexSym encoding
01 | switch to FlexSym encoding
01 90 | FlexSym SID 0
5E | true
05 | FlexSym SID 2
Expand Down
Loading