Class BaseRdbParser.StringHelper
- java.lang.Object
-
- com.moilioncircle.redis.replicator.rdb.BaseRdbParser.StringHelper
-
- Enclosing class:
- BaseRdbParser
public static class BaseRdbParser.StringHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
bytes(RedisInputStream in, int len)
static byte[]
listPackEntry(RedisInputStream in)
static long
skip(RedisInputStream in, long len)
static String
str(RedisInputStream in, int len)
static byte[]
zipListEntry(RedisInputStream in)
-
-
-
Method Detail
-
str
public static String str(RedisInputStream in, int len) throws IOException
- Throws:
IOException
-
bytes
public static byte[] bytes(RedisInputStream in, int len) throws IOException
- Throws:
IOException
-
skip
public static long skip(RedisInputStream in, long len) throws IOException
- Throws:
IOException
-
zipListEntry
public static byte[] zipListEntry(RedisInputStream in) throws IOException
- Throws:
IOException
-
listPackEntry
public static byte[] listPackEntry(RedisInputStream in) throws IOException
- Throws:
IOException
-
-