summaryrefslogtreecommitdiff
path: root/ROUNDS/Photon.Compression.Internal/IPackInt16.cs
blob: 7b12053d267bd59c9ba94f1ea4984d8f4cfcf4a2 (plain)
1
2
3
4
5
6
7
8
9
namespace Photon.Compression.Internal;

[PackSupportedTypes(typeof(short))]
public interface IPackInt16
{
	SerializationFlags Pack(ref short value, short preValue, byte[] buffer, ref int bitposition, int frameId, SerializationFlags writeFlags);

	SerializationFlags Unpack(ref short value, byte[] buffer, ref int bitposition, int frameId, SerializationFlags writeFlags);
}