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
Implement
encode(schema: object, message: any) => Buffer
inlisk-codec
Motivation
We need to generate a binary message given an object and its schema.
Acceptance Criteria
encode()
can generate a buffer from any object based on its schemaencode()
should cache the schema and generate a simplerencoder
on first runencode()
should support anywriter
we might add in the futureencoder
should be able to generate the key/keys for each propertyencoder
picks the correctwriter
for each propertyAdditional Information
encode()
will use a set ofwriters
for each specific data type defined in the schema (this will be detailed in separated issues)Related issues: #5200
The text was updated successfully, but these errors were encountered: