NamespaceIdDescriptor⚓︎
- NamespaceIdDescriptor
- Type safe descriptor used to generate a descriptor map for NamespaceIdDescriptor.
binary layout for a namespace id
Constructors⚓︎
new NamespaceIdDescriptor()⚓︎
Creates a descriptor for NamespaceId.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
name? |
string | Uint8Array<ArrayBufferLike> |
name |
Returns⚓︎
NamespaceIdDescriptor
Properties⚓︎
| Property | Type |
|---|---|
rawDescriptor |
object |
Methods⚓︎
toMap()⚓︎
- NamespaceIdDescriptor.toMap
- Builds a representation of this descriptor that can be passed to a factory function.
Returns⚓︎
object
Descriptor that can be passed to a factory function.