{"action":"created","issue":{"url":"https://api.github.com/repos/google/flatbuffers/issues/4616","repository_url":"https://api.github.com/repos/google/flatbuffers","labels_url":"https://api.github.com/repos/google/flatbuffers/issues/4616/labels{/name}","comments_url":"https://api.github.com/repos/google/flatbuffers/issues/4616/comments","events_url":"https://api.github.com/repos/google/flatbuffers/issues/4616/events","html_url":"https://github.com/google/flatbuffers/issues/4616","id":294621061,"node_id":"MDU6SXNzdWUyOTQ2MjEwNjE=","number":4616,"title":"How to append data to root_type ?","user":{"login":"thanhlv93","id":5988002,"node_id":"MDQ6VXNlcjU5ODgwMDI=","avatar_url":"https://avatars2.githubusercontent.com/u/5988002?v=4","gravatar_id":"","url":"https://api.github.com/users/thanhlv93","html_url":"https://github.com/thanhlv93","followers_url":"https://api.github.com/users/thanhlv93/followers","following_url":"https://api.github.com/users/thanhlv93/following{/other_user}","gists_url":"https://api.github.com/users/thanhlv93/gists{/gist_id}","starred_url":"https://api.github.com/users/thanhlv93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanhlv93/subscriptions","organizations_url":"https://api.github.com/users/thanhlv93/orgs","repos_url":"https://api.github.com/users/thanhlv93/repos","events_url":"https://api.github.com/users/thanhlv93/events{/privacy}","received_events_url":"https://api.github.com/users/thanhlv93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-06T03:32:53Z","updated_at":"2018-08-28T04:29:34Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI'm using flatbuffers for my android application and I have an issue about write data.\r\n\r\nThis is my structure :\r\n\r\n\r\n     namespace ZamPackets;\r\n     table ZamPacketList {\r\n       \tzampackets : [ZamPacket];\r\n    }\r\n\r\n    table ZamPacket {\r\n        timestamp : long;\r\n        log_type  : int;\r\n        request_duration : long;\r\n        request_name : string;\r\n        chat_head_enabled : int;\r\n    }  \r\n\r\n    root_type ZamPacketList;\r\n\r\n\r\nAnd my flow :\r\n\r\nFirst time : I write 100 logs data and read success 100 logs.\r\n\r\nSecond time : I want to write more 100 logs into root_type ZamPacketList and when I read data , total data is 200.\r\n\r\nI dont know how to append data of second time to first time.\r\n\r\nPlease tell me if you have any suggest ?"},"comment":{"url":"https://api.github.com/repos/google/flatbuffers/issues/comments/416447690","html_url":"https://github.com/google/flatbuffers/issues/4616#issuecomment-416447690","issue_url":"https://api.github.com/repos/google/flatbuffers/issues/4616","id":416447690,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjQ0NzY5MA==","user":{"login":"robatussum","id":3595267,"node_id":"MDQ6VXNlcjM1OTUyNjc=","avatar_url":"https://avatars1.githubusercontent.com/u/3595267?v=4","gravatar_id":"","url":"https://api.github.com/users/robatussum","html_url":"https://github.com/robatussum","followers_url":"https://api.github.com/users/robatussum/followers","following_url":"https://api.github.com/users/robatussum/following{/other_user}","gists_url":"https://api.github.com/users/robatussum/gists{/gist_id}","starred_url":"https://api.github.com/users/robatussum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robatussum/subscriptions","organizations_url":"https://api.github.com/users/robatussum/orgs","repos_url":"https://api.github.com/users/robatussum/repos","events_url":"https://api.github.com/users/robatussum/events{/privacy}","received_events_url":"https://api.github.com/users/robatussum/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T04:29:34Z","updated_at":"2018-08-28T04:29:34Z","author_association":"NONE","body":"@aardappel would I be correct in assuming that you would be recreating a linked list type structure using your proposed method?\r\n\r\nie. each buffer would require a reference to the previous buffer (starting with NULL)"}}
{"actor":{"display_login":"robatussum"}}