rename package

master
wanglong 2021-11-13 17:31:11 +08:00
parent aad9821481
commit 1a810d21bc
43 changed files with 142 additions and 195 deletions

View File

@ -79,25 +79,7 @@ public class Test {
} }
``` ```
### Maven
```xml
<dependency>
<groupId>io.github.yezhihao</groupId>
<artifactId>protostar</artifactId>
<version>1.0.0.RELEASE</version>
</dependency>
```
### 代码仓库 ### 代码仓库
* Gitee仓库地址[https://gitee.com/yezhihao/protostar/tree/master](https://gitee.com/yezhihao/protostar/tree/master) 当前项目是Fork [剑器近](https://gitee.com/yezhihao) 的 [https://gitee.com/yezhihao/protostar/tree/master](https://gitee.com/yezhihao/protostar/tree/master)
* Github仓库地址[https://github.com/yezhihao/protostar/tree/master](https://github.com/yezhihao/protostar/tree/master)
更多的例子请参考Test目录 更多的例子请参考Test目录
使用该组件的项目:[https://gitee.com/yezhihao/jt808-server/tree/master](https://gitee.com/yezhihao/jt808-server/tree/master)
项目会不定期进行更新建议star和watch一份您的支持是我最大的动力。
如有任何疑问或者BUG请联系我非常感谢。
技术交流QQ群[906230542]

79
pom.xml
View File

@ -1,13 +1,12 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>io.github.yezhihao</groupId> <groupId>com.dust.tripartite</groupId>
<artifactId>protostar</artifactId> <artifactId>protostar</artifactId>
<version>2.0.7.RELEASE</version> <version>2.0.7.RELEASE</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Protostar</name> <name>Protostar</name>
<url>https://github.com/yezhihao/protostar</url>
<description>Java serialization librarywrite in bytecode order.</description> <description>Java serialization librarywrite in bytecode order.</description>
<licenses> <licenses>
@ -17,18 +16,6 @@
</license> </license>
</licenses> </licenses>
<scm>
<url>https://github.com/yezhihao/protostar</url>
<connection>https://github.com/yezhihao/protostar.git</connection>
</scm>
<developers>
<developer>
<id>protostar.yezhihao</id>
<name>protostar</name>
<email>zhihao.ye@qq.com</email>
</developer>
</developers>
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
@ -69,7 +56,7 @@
<profiles> <profiles>
<profile> <profile>
<id>nexus-release</id> <id>nexus-releases</id>
<activation> <activation>
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
@ -101,20 +88,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
@ -143,46 +116,36 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>central-nexus</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.11.2</version>
</plugin>
</plugins> </plugins>
</build> </build>
<distributionManagement>
<repository>
<id>nexus-release</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>nexus-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile> </profile>
</profiles> </profiles>
<distributionManagement>
<repository>
<id>nexus-releases</id>
<name>Nexus Release Repository</name>
<url>http://113.250.52.44:8081/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<name>Nexus Release Repository</name>
<url>http://113.250.52.44:8081/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<repositories> <repositories>
<repository> <repository>
<id>central</id> <id>deployer</id>
<name>Maven Central</name> <name>deployer</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url> <url>http://113.250.52.44:8081/repository/maven-public/</url>
<layout>default</layout> <layout>default</layout>
<releases> <releases>
<enabled>true</enabled> <enabled>true</enabled>
</releases> </releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository> </repository>
</repositories> </repositories>
</project> </project>

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar; package com.dust.tripartite.protostar;
/** /**
* *

View File

@ -1,8 +1,8 @@
package io.github.yezhihao.protostar; package com.dust.tripartite.protostar;
import io.github.yezhihao.protostar.annotation.Message; import com.dust.tripartite.protostar.annotation.Message;
import io.github.yezhihao.protostar.schema.RuntimeSchema; import com.dust.tripartite.protostar.schema.RuntimeSchema;
import io.github.yezhihao.protostar.util.ClassUtils; import com.dust.tripartite.protostar.util.ClassUtils;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;

View File

@ -1,6 +1,8 @@
package io.github.yezhihao.protostar; package com.dust.tripartite.protostar;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.annotation.Field;
import com.dust.tripartite.protostar.field.*;
import com.dust.tripartite.protostar.schema.*;
import io.github.yezhihao.protostar.field.*; import io.github.yezhihao.protostar.field.*;
import io.github.yezhihao.protostar.schema.*; import io.github.yezhihao.protostar.schema.*;

View File

@ -1,8 +1,8 @@
package io.github.yezhihao.protostar; package com.dust.tripartite.protostar;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.field.BasicField; import com.dust.tripartite.protostar.field.BasicField;
import io.github.yezhihao.protostar.schema.RuntimeSchema; import com.dust.tripartite.protostar.schema.RuntimeSchema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import java.lang.reflect.ParameterizedType; import java.lang.reflect.ParameterizedType;

View File

@ -1,9 +1,9 @@
package io.github.yezhihao.protostar; package com.dust.tripartite.protostar;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Fs; import com.dust.tripartite.protostar.annotation.Fs;
import io.github.yezhihao.protostar.field.BasicField; import com.dust.tripartite.protostar.field.BasicField;
import io.github.yezhihao.protostar.schema.RuntimeSchema; import com.dust.tripartite.protostar.schema.RuntimeSchema;
import java.lang.reflect.ParameterizedType; import java.lang.reflect.ParameterizedType;
import java.util.*; import java.util.*;

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar; package com.dust.tripartite.protostar;
import io.github.yezhihao.protostar.schema.ArraySchema; import com.dust.tripartite.protostar.schema.ArraySchema;
import io.github.yezhihao.protostar.schema.NumberSchema; import com.dust.tripartite.protostar.schema.NumberSchema;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;

View File

@ -1,6 +1,6 @@
package io.github.yezhihao.protostar; package com.dust.tripartite.protostar;
import io.github.yezhihao.protostar.schema.RuntimeSchema; import com.dust.tripartite.protostar.schema.RuntimeSchema;
import java.util.Map; import java.util.Map;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar; package com.dust.tripartite.protostar;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.annotation; package com.dust.tripartite.protostar.annotation;
import io.github.yezhihao.protostar.DataType; import com.dust.tripartite.protostar.DataType;
import io.github.yezhihao.protostar.converter.Converter; import com.dust.tripartite.protostar.converter.Converter;
import java.lang.annotation.*; import java.lang.annotation.*;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.annotation; package com.dust.tripartite.protostar.annotation;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.annotation; package com.dust.tripartite.protostar.annotation;
import java.lang.annotation.*; import java.lang.annotation.*;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.converter; package com.dust.tripartite.protostar.converter;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

View File

@ -1,8 +1,8 @@
package io.github.yezhihao.protostar.converter; package com.dust.tripartite.protostar.converter;
import io.github.yezhihao.protostar.PrepareLoadStrategy; import com.dust.tripartite.protostar.PrepareLoadStrategy;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.github.yezhihao.protostar.util.ByteBufUtils; import com.dust.tripartite.protostar.util.ByteBufUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.field; package com.dust.tripartite.protostar.field;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.util.StrUtils; import com.dust.tripartite.protostar.util.StrUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
/** /**

View File

@ -1,9 +1,9 @@
package io.github.yezhihao.protostar.field; package com.dust.tripartite.protostar.field;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.util.ByteBufUtils; import com.dust.tripartite.protostar.util.ByteBufUtils;
import io.github.yezhihao.protostar.util.StrUtils; import com.dust.tripartite.protostar.util.StrUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil; import io.netty.buffer.ByteBufUtil;

View File

@ -1,9 +1,9 @@
package io.github.yezhihao.protostar.field; package com.dust.tripartite.protostar.field;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.util.StrUtils;
import io.github.yezhihao.protostar.util.ByteBufUtils; import com.dust.tripartite.protostar.Schema;
import io.github.yezhihao.protostar.util.StrUtils; import com.dust.tripartite.protostar.util.ByteBufUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import java.util.Collection; import java.util.Collection;

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.field; package com.dust.tripartite.protostar.field;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.Schema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil; import io.netty.buffer.ByteBufUtil;

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.field; package com.dust.tripartite.protostar.field;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.Schema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil; import io.netty.buffer.ByteBufUtil;

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.schema; package com.dust.tripartite.protostar.schema;
import io.github.yezhihao.protostar.DataType; import com.dust.tripartite.protostar.DataType;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class ArraySchema { public class ArraySchema {

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.schema; package com.dust.tripartite.protostar.schema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;

View File

@ -1,8 +1,8 @@
package io.github.yezhihao.protostar.schema; package com.dust.tripartite.protostar.schema;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.github.yezhihao.protostar.util.ByteBufUtils; import com.dust.tripartite.protostar.util.ByteBufUtils;
import io.github.yezhihao.protostar.util.Cache; import com.dust.tripartite.protostar.util.Cache;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -1,8 +1,8 @@
package io.github.yezhihao.protostar.schema; package com.dust.tripartite.protostar.schema;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.github.yezhihao.protostar.converter.Converter; import com.dust.tripartite.protostar.converter.Converter;
import io.github.yezhihao.protostar.util.Cache; import com.dust.tripartite.protostar.util.Cache;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
/** /**

View File

@ -1,8 +1,8 @@
package io.github.yezhihao.protostar.schema; package com.dust.tripartite.protostar.schema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.github.yezhihao.protostar.util.Bcd; import com.dust.tripartite.protostar.util.Bcd;
import java.time.LocalDateTime; import java.time.LocalDateTime;

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.schema; package com.dust.tripartite.protostar.schema;
import io.github.yezhihao.protostar.DataType; import com.dust.tripartite.protostar.DataType;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class NumberSchema { public class NumberSchema {

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.schema; package com.dust.tripartite.protostar.schema;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.github.yezhihao.protostar.util.Cache; import com.dust.tripartite.protostar.util.Cache;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class ObjectSchema<T> implements Schema<T> { public class ObjectSchema<T> implements Schema<T> {

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.schema; package com.dust.tripartite.protostar.schema;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.github.yezhihao.protostar.field.BasicField; import com.dust.tripartite.protostar.field.BasicField;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;

View File

@ -1,8 +1,8 @@
package io.github.yezhihao.protostar.schema; package com.dust.tripartite.protostar.schema;
import io.github.yezhihao.protostar.Schema; import com.dust.tripartite.protostar.Schema;
import io.github.yezhihao.protostar.util.Cache; import com.dust.tripartite.protostar.util.Cache;
import io.github.yezhihao.protostar.util.CharsBuilder; import com.dust.tripartite.protostar.util.CharsBuilder;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.util.internal.StringUtil; import io.netty.util.internal.StringUtil;
import org.slf4j.Logger; import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.util; package com.dust.tripartite.protostar.util;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.util; package com.dust.tripartite.protostar.util;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.util; package com.dust.tripartite.protostar.util;
import java.util.HashMap; import java.util.HashMap;
import java.util.function.Function; import java.util.function.Function;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.util; package com.dust.tripartite.protostar.util;
import java.util.Arrays; import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.util; package com.dust.tripartite.protostar.util;
import java.io.File; import java.io.File;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.util; package com.dust.tripartite.protostar.util;
/** /**
* @author yezhihao * @author yezhihao

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.util; package com.dust.tripartite.protostar.util;
import java.beans.Transient; import java.beans.Transient;
import java.lang.reflect.Array; import java.lang.reflect.Array;

View File

@ -1,7 +1,7 @@
package io.github.yezhihao.protostar.convert; package com.dust.tripartite.protostar.convert;
import io.github.yezhihao.protostar.DataType; import com.dust.tripartite.protostar.DataType;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.annotation.Field;
public class Attr1 { public class Attr1 {

View File

@ -1,4 +1,4 @@
package io.github.yezhihao.protostar.convert; package com.dust.tripartite.protostar.convert;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
@ -42,7 +42,7 @@ public class Attr2 {
return sb.toString(); return sb.toString();
} }
public static class Schema implements io.github.yezhihao.protostar.Schema<Attr2> { public static class Schema implements com.dust.tripartite.protostar.Schema<Attr2> {
public static final Schema INSTANCE = new Schema(); public static final Schema INSTANCE = new Schema();

View File

@ -1,9 +1,9 @@
package io.github.yezhihao.protostar.convert; package com.dust.tripartite.protostar.convert;
import io.github.yezhihao.protostar.PrepareLoadStrategy; import com.dust.tripartite.protostar.converter.MapConverter;
import io.github.yezhihao.protostar.converter.MapConverter; import com.dust.tripartite.protostar.schema.NumberSchema;
import io.github.yezhihao.protostar.schema.NumberSchema; import com.dust.tripartite.protostar.schema.StringSchema;
import io.github.yezhihao.protostar.schema.StringSchema; import com.dust.tripartite.protostar.PrepareLoadStrategy;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class AttributeConverter extends MapConverter<Integer, Object> { public class AttributeConverter extends MapConverter<Integer, Object> {

View File

@ -1,9 +1,9 @@
package io.github.yezhihao.protostar.convert; package com.dust.tripartite.protostar.convert;
import io.github.yezhihao.protostar.PrepareLoadStrategy; import com.dust.tripartite.protostar.schema.StringSchema;
import io.github.yezhihao.protostar.converter.MapConverter; import com.dust.tripartite.protostar.PrepareLoadStrategy;
import io.github.yezhihao.protostar.schema.NumberSchema; import com.dust.tripartite.protostar.converter.MapConverter;
import io.github.yezhihao.protostar.schema.StringSchema; import com.dust.tripartite.protostar.schema.NumberSchema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class AttributeConverterV2 extends MapConverter<Integer, Object> { public class AttributeConverterV2 extends MapConverter<Integer, Object> {

View File

@ -1,9 +1,9 @@
package io.github.yezhihao.protostar.convert; package com.dust.tripartite.protostar.convert;
import io.github.yezhihao.protostar.DataType; import com.dust.tripartite.protostar.DataType;
import io.github.yezhihao.protostar.ProtostarUtil; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.ProtostarUtil;
import io.github.yezhihao.protostar.schema.RuntimeSchema; import com.dust.tripartite.protostar.schema.RuntimeSchema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil; import io.netty.buffer.ByteBufUtil;
import io.netty.buffer.Unpooled; import io.netty.buffer.Unpooled;

View File

@ -1,9 +1,9 @@
package io.github.yezhihao.protostar.multiversion; package com.dust.tripartite.protostar.multiversion;
import io.github.yezhihao.protostar.DataType; import com.dust.tripartite.protostar.DataType;
import io.github.yezhihao.protostar.ProtostarUtil; import com.dust.tripartite.protostar.ProtostarUtil;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.schema.RuntimeSchema; import com.dust.tripartite.protostar.schema.RuntimeSchema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil; import io.netty.buffer.ByteBufUtil;
import io.netty.buffer.Unpooled; import io.netty.buffer.Unpooled;

View File

@ -1,10 +1,10 @@
package io.github.yezhihao.protostar.simple; package com.dust.tripartite.protostar.simple;
import io.github.yezhihao.protostar.DataType; import com.dust.tripartite.protostar.DataType;
import io.github.yezhihao.protostar.FieldFactory; import com.dust.tripartite.protostar.FieldFactory;
import io.github.yezhihao.protostar.ProtostarUtil; import com.dust.tripartite.protostar.ProtostarUtil;
import io.github.yezhihao.protostar.annotation.Field; import com.dust.tripartite.protostar.annotation.Field;
import io.github.yezhihao.protostar.schema.RuntimeSchema; import com.dust.tripartite.protostar.schema.RuntimeSchema;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil; import io.netty.buffer.ByteBufUtil;
import io.netty.buffer.Unpooled; import io.netty.buffer.Unpooled;