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.TokenInfo
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<CpdSerializer.TokenInfo>fromBytes(byte[] bytes)static byte[]toBytes(List<Token> tokens)
-
-
-
Method Detail
-
toBytes
public static byte[] toBytes(List<Token> tokens) throws IOException
- Throws:
IOException
-
fromBytes
public static List<CpdSerializer.TokenInfo> fromBytes(byte[] bytes) throws IOException
- Throws:
IOException
-
-