Deserializes the buffered bytes into an instance of the specified class type.
This function provides an alternative syntax for deserialization, allowing users to call
deserializer.deserialize(MyClass)
instead of MyClass.deserialize(deserializer)
.
The deserializer instance with the buffered bytes.
The deserialized value of class type T.
This interface exists to define Deserializable inputs for functions that
deserialize a byte buffer into a type T.
It is not intended to be implemented or extended, because Typescript has no support
for static methods in interfaces.