mirror of
https://github.com/happyfish100/fastdfs-client-java.git
synced 2026-09-23 14:40:01 +00:00
support connection stats since FastDFS Server v5.04
This commit is contained in:
@@ -62,6 +62,11 @@ public abstract class StructBase
|
||||
return (int)ProtoCommon.buff2long(bs, offset + filedInfo.offset);
|
||||
}
|
||||
|
||||
protected int int32Value(byte[] bs, int offset, FieldInfo filedInfo)
|
||||
{
|
||||
return ProtoCommon.buff2int(bs, offset + filedInfo.offset);
|
||||
}
|
||||
|
||||
protected byte byteValue(byte[] bs, int offset, FieldInfo filedInfo)
|
||||
{
|
||||
return bs[offset + filedInfo.offset];
|
||||
|
||||
Reference in New Issue
Block a user