Open soanvig opened 2 years ago
I don't see why not. Do you have time to make a PR?
Yeah, I think I can do that. I've already battle-tested my implementation on Minecraft server protocol, and I'm positive it works correctly.
Will post soon
@JoshGlazebrook probably done, not sure though https://github.com/JoshGlazebrook/smart-buffer/pull/47
Hey! One thing I'm missing is VarInt support. I currently implemented support for this as follows using varint library. It does not comply to current code standards, and I had no time to adapt to them - that's why I wrote this dirty implementation and no PR.
Also, your
readOffset
isprivate
(notprotected
) so I cannot easily extend, thusas any
cast inread
function.WDYT about adding support for that style of integers into
SmartBuffer
?