Package org.sonar.python.caching
Class CpdSerializer
- java.lang.Object
-
- org.sonar.python.caching.CpdSerializer
-
public class CpdSerializer extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCpdSerializer.SerializationResultstatic classCpdSerializer.TokenInfo
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<CpdSerializer.TokenInfo>deserialize(byte[] dataBytes, byte[] stringTableBytes)static CpdSerializer.SerializationResultserialize(List<Token> tokens)
-
-
-
Method Detail
-
serialize
public static CpdSerializer.SerializationResult serialize(List<Token> tokens) throws IOException
- Throws:
IOException
-
deserialize
public static List<CpdSerializer.TokenInfo> deserialize(byte[] dataBytes, byte[] stringTableBytes) throws IOException
- Throws:
IOException
-
-