theweipeng commented on PR #1825:
URL: https://github.com/apache/fury/pull/1825#issuecomment-2360993451

   > > Hi @theweipeng  on line 147 , when I do this
   > > ```diff
   > > -    ${this.builder.typeMeta.from_bytes(this.builder.reader.ownName())}
   > > 
   > > +   ${this.builder.reader.buffer(buffer.byteLength)}
   > > ```
   > > 
   > > 
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > I pass 3 test
   > > ![Screenshot from 2024-09-14 
09-25-13](https://private-user-images.githubusercontent.com/24577149/367507533-62955258-0f3a-4b31-97e5-8440c52181cb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjY3NTI0ODEsIm5iZiI6MTcyNjc1MjE4MSwicGF0aCI6Ii8yNDU3NzE0OS8zNjc1MDc1MzMtNjI5NTUyNTgtMGYzYS00YjMxLTk3ZTUtODQ0MGM1MjE4MWNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTE5VDEzMjMwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxMjQ3YmNhYWRjM2Y3OGU4YTdhY2IzMjllYjc4NzM4MWEyMzcwNzA4NzljNGZmY2FiYzY4MDlkNzdhYzZiMjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HX2gWJmIAlpIEvM1giLoIj7bZC0W8i2y7MJdm1jI8a8)
   > > Please  for a hint on what I am missing.
   > 
   > Why did you remove reading the typeMeta? I am confused
   
   Ensure that the byte length consumed from the reader matches the length 
written to the buffer in the writeStmt. In the context of your code, it should 
be expressed as `${this.builder.reader.buffer(buffer2.byteLength)}`
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to