Beginnings of wireformat decoder functions