'Deserialize a bytestring into a value. See the deserialize() method
for more information. This method differs in that if None or the empty
string is passed in, None may be returned.'

@classmethod
def from_binary(cls, byts, protocol_version):

    if (byts is None):
        return None
    elif ((len(byts) == 0) and (not cls.empty_binary_ok)):
        return (EMPTY if cls.support_empty_values else None)
    return cls.deserialize(byts, protocol_version)
