sigmastate-interpreter icon indicating copy to clipboard operation
sigmastate-interpreter copied to clipboard

Implement binary serialization and deserialization for every type

Open kushti opened this issue 1 year ago • 2 comments

Serialization and deserialization already available for following types :

  • Box - bytes and bytesWithoutRef methods
  • GroupElement - getElement | decodePoint in global methods
  • SigmaProp - propBytes (and there are options to deserialize it along with execution via executeFrom* only)
  • Byte, Short, Int, Long, BigInt (numeric types) - toBytes | byteArrayToBigInt and byteArrayToLong

So there is need for:

  • Box deserialization
  • Header serialization and deserialization
  • byteArrayToInt and byteArrayToShort
  • SigmaProp deserialization
  • AVLTree serialization and deserialization

kushti avatar Dec 26 '23 10:12 kushti

Deserialization of everything mentioned is done in #979 . Header.toBytes done in #975

kushti avatar May 13 '24 11:05 kushti

Serialization of everything mentioned and more done in #979 and #989.

kushti avatar Jun 09 '24 12:06 kushti