SerializerHelper: inline methods near sizeOfPrimitiveNoTag