Page MenuHomeFeedback Tracker

Request to change the behaviour of the Decode And Encode methods in SSnapSerializerBase
Feedback, NormalPublic

Description

The EncodeInt method for example is implemented like this:

void EncodeInt(ScriptBitSerializer packet)
{

		int val;
		this.SerializeBytes(val, 4);
		packet.Serialize(val, 32);

}

This means that the data cannot be decoded using packet.SerializeInt(x) but must instead be decoded with packet.Serialize( x ,32)
which caused me some trouble figuring out, and is hard to guess based on method names.

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Geez changed the task status from New to Feedback.Jan 2 2024, 2:00 PM