Skip to content

Home > @esengine/ecs-framework-monorepo > Bits > fromHexString

Bits.fromHexString() method

从十六进制字符串创建位集合

Signature:

typescript
static fromHexString(hexString: string): Bits;

Parameters

Parameter

Type

Description

hexString

string

十六进制字符串,可以带或不带0x前缀

Returns:

Bits

新的位集合对象

基于 MIT 许可证发布