FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
msgpack-javascript/src/ExtData.ts at main · msgpack/msgpack-javascript · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
msgpack
/
msgpack-javascript
Public
Notifications
You must be signed in to change notification settings
Fork
180
Star
1.6k
Code
Issues
18
Pull requests
6
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
msgpack-javascript
/
src
/
ExtData.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (11 loc) · 336 Bytes
Breadcrumbs
msgpack-javascript
/
src
/
ExtData.ts
Copy path
File metadata and controls
12 lines (11 loc) · 336 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
/**
* ExtData is used to handle Extension Types that are not registered to ExtensionCodec.
*/
export
class
ExtData
{
readonly
type
:
number
;
readonly
data
:
Uint8Array
|
(
(
pos
:
number
)
=>
Uint8Array
)
;
constructor
(
type
:
number
,
data
:
Uint8Array
|
(
(
pos
:
number
)
=>
Uint8Array
)
)
{
this
.
type
=
type
;
this
.
data
=
data
;
}
}
Back
|
FazBrowse Home
|
New Git URL