Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Jan 30, 2025
1 parent ea63efe commit df13e68
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions zenoh-ts/examples/deno/src/z_bytes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export async function main() {
let output = payload.to_string()
console.log(`Input: ${input}, Output: ${output}`)
}

// Uint8Array
{
let input = new Uint8Array([1, 2, 3, 4])
Expand All @@ -83,8 +82,6 @@ export async function main() {
let output = zdeserialize(ZSerDe.array(ZSerDe.number()), payload)
console.log(`Input: ${input}, Output: ${output}`)
}

// serialization
// map
{
let input = new Map<bigint, string>()
Expand All @@ -97,7 +94,6 @@ export async function main() {
console.log(`Output:`)
console.table(output)
}

// Custom class
{
let input = new MyStruct(1234n, "test", [1, 2, 3, 4])
Expand All @@ -107,4 +103,4 @@ export async function main() {
}
}

main();
main();

0 comments on commit df13e68

Please sign in to comment.