Class: StaticStringType
Extends
AdvancedType<string,StaticStringType>
Constructors
Constructor
new StaticStringType(
length,name):StaticStringType
Parameters
length
number
name
string
Returns
StaticStringType
Overrides
Properties
ffiType
readonlyffiType:StaticStringType
Inherited from
ffiTypeStruct
readonlyffiTypeStruct:SimpleType<string>
Inherited from
name
readonlyname:string
Inherited from
size
readonlysize:number
Inherited from
Methods
fromBuffer()
fromBuffer(
buf,ctx?):string
Parameters
buf
Uint8Array
ctx?
Returns
string
Overrides
toBuffer()
toBuffer(
str,ctx?):Uint8Array
Parameters
str
string
ctx?
Returns
Uint8Array