fromBorsh static method

Stake fromBorsh(
  1. Iterable<int> buffer
)
override

Creates an instance of this class from a buffer.

Implementation

static Stake fromBorsh(final Iterable<int> buffer)
  => borsh.deserialize(codec.schema, buffer, Stake.fromJson);