CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 11:31:18 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/aeron-io/simple-binary-encoding.git
etag: W/"80007b417256450dfe3841dc8ddf3e28"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=8Wy920mft3iKF0ZmjQgo%2BGPDYd32tS6Ts2%2BEVx1iS3vlh%2F2vPalfEi3odvMppnHiPSF3DV7M2YplIh3HAM1mAumALlTKnes65kOa1jwLa4OscSRrm%2FhToSH6vALy9qhJu4BlWUXgtC9PxXtoEHPUCPKZ66SFKvefU%2Ffep87ZYG00hmHwvPYwVr9QDQ2UGkmWlmYMmDu1kPMoU4INEFW45tByfMwhqpZK3SkCR%2BW3NXPeDDnAfSiVi%2Boxx7MSnyLXZnHivJ3XFXAwZvVWC8CTYg%3D%3D--RIuL2aX16%2F67mDl4--kBknyAX%2Bszf5Dn6vs%2F0deQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1426819899.1752924677; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 11:31:17 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 11:31:17 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DC7E:0A55:3A7CF2:48650B:687B8205
[Java] Charset encoding handling improvements. (#887) · aeron-io/simple-binary-encoding@ff8d2c9 · GitHub
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/golang/GolangGenerator.java
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaUtil.java
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust/RustGenerator.java
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 542
Commit ff8d2c9
authored
[Java] Charset encoding handling improvements. (#887)
* [Java] Use StandardCharsets when generating `CharacterEncoding` methods and make alias names case-insensitive.
* [Java] Use `putStringWithoutLengthAscii` for ASCII-encoded property when input is a `CharSequence`.
* [Java] Replace use an actual CharSet instance when invoking String constructor and getBytes.
* [Java] Use `ArrayUtil.EMPTY_BYTE_ARRAY` instead of creating `byte[0]` when input string is null or empty.
* [Java] Add assertions around Charset usage.
* [Java] Add an explicit test for case-insensitive alias and remove extra output.
* [Java] Resolve canonical charset name when not a standard charset.
* [Java] Do not convert character encoding to upper case, i.e. treat character encoding as case-sensitive.1 parent 796a448 commit ff8d2c9Copy full SHA for ff8d2c9
File tree
Expand file treeCollapse file tree
11 files changed
+423
-407
lines changedFilter options
- sbe-tool/src
- main/java/uk/co/real_logic/sbe
- generation
- golang
- java
- rust
- ir/generated
- xml
- test/java/uk/co/real_logic/sbe
- generation/java
- xml
Expand file treeCollapse file tree
11 files changed
+423
-407
lines changedsbe-tool/src/main/java/uk/co/real_logic/sbe/generation/golang/GolangGenerator.java
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/golang/GolangGenerator.java+26-23Lines changed: 26 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
244 | 245 |
| |
245 | 246 |
| |
246 | 247 |
| |
247 |
| - | |
| 248 | + | |
248 | 249 |
| |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
270 | 273 |
| |
271 | 274 |
| |
272 | 275 |
| |
| |||
1836 | 1839 |
| |
1837 | 1840 |
| |
1838 | 1841 |
| |
1839 |
| - | |
| 1842 | + | |
1840 | 1843 |
| |
1841 | 1844 |
| |
1842 | 1845 |
| |
|
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java+16-37Lines changed: 16 additions & 37 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
921 | 921 |
| |
922 | 922 |
| |
923 | 923 |
| |
924 |
| - | |
925 |
| - | |
926 |
| - | |
927 |
| - | |
928 |
| - | |
929 |
| - | |
930 |
| - | |
931 |
| - | |
932 |
| - | |
933 |
| - | |
| 924 | + | |
934 | 925 |
| |
935 | 926 |
| |
936 | 927 |
| |
937 | 928 |
| |
938 | 929 |
| |
939 | 930 |
| |
940 |
| - | |
| 931 | + | |
941 | 932 |
| |
942 |
| - | |
| 933 | + | |
943 | 934 |
| |
944 | 935 |
| |
945 | 936 |
| |
| |||
1050 | 1041 |
| |
1051 | 1042 |
| |
1052 | 1043 |
| |
1053 |
| - | |
| 1044 | + | |
1054 | 1045 |
| |
1055 | 1046 |
| |
1056 | 1047 |
| |
| |||
1099 | 1090 |
| |
1100 | 1091 |
| |
1101 | 1092 |
| |
1102 |
| - | |
1103 |
| - | |
1104 |
| - | |
1105 |
| - | |
1106 |
| - | |
1107 |
| - | |
1108 |
| - | |
1109 |
| - | |
1110 |
| - | |
1111 |
| - | |
| 1093 | + | |
| 1094 | + | |
1112 | 1095 |
| |
1113 | 1096 |
| |
1114 | 1097 |
| |
| |||
1123 | 1106 |
| |
1124 | 1107 |
| |
1125 | 1108 |
| |
1126 |
| - | |
| 1109 | + | |
1127 | 1110 |
| |
1128 | 1111 |
| |
1129 | 1112 |
| |
| |||
2042 | 2025 |
| |
2043 | 2026 |
| |
2044 | 2027 |
| |
2045 |
| - | |
| 2028 | + | |
2046 | 2029 |
| |
2047 | 2030 |
| |
2048 | 2031 |
| |
| |||
2240 | 2223 |
| |
2241 | 2224 |
| |
2242 | 2225 |
| |
2243 |
| - | |
| 2226 | + | |
2244 | 2227 |
| |
2245 | 2228 |
| |
2246 | 2229 |
| |
| |||
2274 | 2257 |
| |
2275 | 2258 |
| |
2276 | 2259 |
| |
2277 |
| - | |
2278 |
| - | |
2279 |
| - | |
2280 |
| - | |
2281 |
| - | |
2282 |
| - | |
2283 |
| - | |
| 2260 | + | |
| 2261 | + | |
2284 | 2262 |
| |
2285 |
| - | |
| 2263 | + | |
2286 | 2264 |
| |
2287 | 2265 |
| |
2288 | 2266 |
| |
| |||
2297 | 2275 |
| |
2298 | 2276 |
| |
2299 | 2277 |
| |
2300 |
| - | |
| 2278 | + | |
| 2279 | + | |
2301 | 2280 |
| |
2302 | 2281 |
| |
2303 | 2282 |
| |
| |||
2387 | 2366 |
| |
2388 | 2367 |
| |
2389 | 2368 |
| |
2390 |
| - | |
| 2369 | + | |
2391 | 2370 |
| |
2392 | 2371 |
| |
2393 | 2372 |
| |
| |||
3537 | 3516 |
| |
3538 | 3517 |
| |
3539 | 3518 |
| |
3540 |
| - | |
| 3519 | + | |
3541 | 3520 |
| |
3542 | 3521 |
| |
3543 | 3522 |
| |
|
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaUtil.java
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaUtil.java+63-8Lines changed: 63 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 |
| - | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
33 |
| - | |
34 |
| - | |
35 | 34 |
| |
36 | 35 |
| |
37 | 36 |
| |
| |||
96 | 95 |
| |
97 | 96 |
| |
98 | 97 |
| |
99 |
| - | |
| 98 | + | |
100 | 99 |
| |
101 | 100 |
| |
102 | 101 |
| |
103 | 102 |
| |
104 | 103 |
| |
105 | 104 |
| |
106 | 105 |
| |
107 |
| - | |
| 106 | + | |
| 107 | + | |
108 | 108 |
| |
109 | 109 |
| |
110 |
| - | |
111 |
| - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
112 | 125 |
| |
113 | 126 |
| |
114 | 127 |
| |
| |||
207 | 220 |
| |
208 | 221 |
| |
209 | 222 |
| |
210 |
| - | |
| 223 | + | |
| 224 | + | |
211 | 225 |
| |
212 | 226 |
| |
213 | 227 |
| |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
214 | 269 |
| |
215 | 270 |
| |
216 | 271 |
| |
|
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust/RustGenerator.java
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust/RustGenerator.java+22-29Lines changed: 22 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
304 | 305 |
| |
305 | 306 |
| |
306 | 307 |
| |
307 |
| - | |
| 308 | + | |
308 | 309 |
| |
309 |
| - | |
310 |
| - | |
311 |
| - | |
312 |
| - | |
313 |
| - | |
314 |
| - | |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
320 |
| - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
321 | 317 |
| |
322 | 318 |
| |
323 | 319 |
| |
| |||
681 | 677 |
| |
682 | 678 |
| |
683 | 679 |
| |
684 |
| - | |
| 680 | + | |
685 | 681 |
| |
686 |
| - | |
687 |
| - | |
688 |
| - | |
689 |
| - | |
690 |
| - | |
691 |
| - | |
692 |
| - | |
693 |
| - | |
694 |
| - | |
695 |
| - | |
696 |
| - | |
697 |
| - | |
698 |
| - | |
699 |
| - | |
700 |
| - | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
701 | 694 |
| |
702 | 695 |
| |
703 | 696 |
| |
|
You can’t perform that action at this time.
0 commit comments