org.csource.fastdfs
类 StructBase
java.lang.Object
org.csource.fastdfs.StructBase
- 直接已知子类:
- StructGroupStat, StructStorageStat
public abstract class StructBase
- extends Object
C struct body decoder
- 版本:
- Version 1.17
- 作者:
- Happy Fish / YuQing
方法摘要 |
protected boolean |
booleanValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
|
protected byte |
byteValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
|
protected Date |
dateValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
|
protected int |
int32Value(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
|
protected int |
intValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
|
protected long |
longValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
|
abstract void |
setFields(byte[] bs,
int offset)
set fields |
protected String |
stringValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
|
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructBase
public StructBase()
setFields
public abstract void setFields(byte[] bs,
int offset)
- set fields
- 参数:
bs
- byte arrayoffset
- start offset
stringValue
protected String stringValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
longValue
protected long longValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
intValue
protected int intValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
int32Value
protected int int32Value(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
byteValue
protected byte byteValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
booleanValue
protected boolean booleanValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
dateValue
protected Date dateValue(byte[] bs,
int offset,
StructBase.FieldInfo filedInfo)
Copyright © 2017. All rights reserved.