getnaming from bytes