Decode a single object from Uint8Array.
Input buffer, which should contain the encoded object and nothing else.
Decodable object type.
Decoded object.
Error Thrown if the input cannot be decoded as the specified object type, or there's junk leftover.
Decode a single object from Uint8Array.