-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When I tried to parse a very long table to LTable, e.g.
data = {
[1] = {
[1] = 55,
[2] = 123,
[3] = 0,
[4] = "测试测试测试",
[5] = "测试测试测试测试测试测试测试测试",
[6] = "",
},
[2] = {
[1] = 8,
[2] = 12345,
[3] = 0,
[4] = "测试测试测试",
[5] = "测试测试测试测试测试测试测试测试",
[6] = "",
},
[3] = {
[1] = 8,
[2] = 65423,
[3] = 0,
[4] = "测试测试测试",
[5] = "",
[6] = "",
},
[4] = {
[1] = 9,
[2] = 84535,
[3] = 0,
[4] = "测试测试测试",
[5] = "",
[6] = "",
},
[5] = {
[1] = 1,
[2] = 16540,
[3] = 0,
[4] = "测试测试测试",
[5] = "测试测试测试测试",
[6] = "测试",
},
[6] = {
[1] = 5,
[2] = 23454,
[3] = 0,
[4] = "测试测试测试",
[5] = "测试测试测试测试",
[6] = "测试",
},
[7] = {
[1] = 4,
[2] = 24653,
[3] = 0,
[4] = "测试测试测试",
[5] = "测试测试测试测试测试",
[6] = "测试",
},
[8] = {
[1] = 2,
[2] = 55232,
[3] = 0,
[4] = "测试测试测试",
[5] = "测试测试测试测试",
[6] = "测试",
},
[9] = {
[1] = 3,
[2] = 45678,
[3] = 0,
[4] = "测试测试测试",
[5] = "测试测试测试测试",
[6] = "测试",
},
}
After reading ~1000 characters, an UnexpectedCharacterException will be thrown. If I read less than that it works correctly. Seems like something is wrong about the buffer mechanism.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working