You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Description
Create function
varint(value: number, schema) => buffer
Motivation
lisk-codec
will include a set ofWriters
for each data type defined in the LIP, to that endwe need a function to write VarInts.
Acceptance Criteria
varint()
should accept numbers (including bigInts)varint()
returns a buffer that can be passed through the varInt reader to get the original valueAdditional Information
Check if it will make sense to implement signed varints in same issue.
Related issues: #5200
The text was updated successfully, but these errors were encountered: