fix: ensure correct encoding and decoding when data length is greater than 256 (#32)
authortzssangglass <tzssangglass@gmail.com>
Tue, 15 Jun 2021 12:34:47 +0000 (20:34 +0800)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 12:34:47 +0000 (20:34 +0800)
commitb7c0de81b836b9feeecba1c008ca422e4b09cb13
treea291020f29e7f3a0fb74d5f6d694a426d1dfb73b
parent75ae97d9e4cf8af8fefe99204b095e259afa7405
fix: ensure correct encoding and decoding when data length is greater than 256 (#32)
runner-core/src/main/java/org/apache/apisix/plugin/runner/codec/impl/FlatBuffersDecoder.java
runner-core/src/main/java/org/apache/apisix/plugin/runner/codec/impl/FlatBuffersEncoder.java
runner-core/src/test/java/org/apache/apisix/plugin/runner/codec/impl/FlatBuffersDecoderTest.java
runner-core/src/test/java/org/apache/apisix/plugin/runner/codec/impl/FlatBuffersEncoderTest.java