implement GobDecode for block