Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mu-online-js/mu-packet-manager

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mu-online-js/mu-packet-manager - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "@mu-online-js/mu-packet-manager",
"version": "0.0.3",
"version": "0.0.4",
"description": "It allows you to define packet structures in a single place and easily convert between buffer and object representations of these structures.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -54,5 +54,4 @@ # mu-online-js packet manager

const data = Buffer;/* a buffer received from the client/server */;
const messageObj = new packetManager()
.useStruct(structs.CSServerListResponse)
.fromBuffer(data);
const messageObj = new packetManager().fromBuffer(data)
.useStruct(structs.CSServerListResponse).toObject();
```

@@ -59,0 +58,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc