Platform
Resources
Pricing
Sign in
Contact us
Fil
Vocateur.
Workspace
Fork
Published
Hello
By
Fil
Edited
Feb 18, 2020
5 stars
1
Insert cell
Insert cell
// "https://bundle.run/protobufjs"
protobuf
=
require
(
await
FileAttachment
(
"protobufjs-6.8.8.js"
)
.
url
(
)
)
Insert cell
message
=
(
{
hello
:
"Dolly"
}
)
Insert cell
// write
buffer
=
protobuf
.
Writer
.
create
(
)
.
string
(
JSON
.
stringify
(
message
)
)
.
finish
(
)
Insert cell
// read
JSON
.
parse
(
protobuf
.
Reader
.
create
(
buffer
)
.
string
(
)
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
protobuf
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
message
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buffer
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML