MCPcopy Create free account
hub / github.com/Q16G/memory-shell / Request

Method Request

src/main/java/org/example/tlv.java:59–63  ·  view source on GitHub ↗
(byte type, byte[] data)

Source from the content-addressed store, hash-verified

57 private byte[] data; // 数据部分
58
59 public Request(byte type, byte[] data) {
60 this.type = type;
61 this.data = data;
62 this.length = data != null ? data.length : 0;
63 }
64
65 // 编码请求包(带加密)
66 public byte[] encode() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected