Skip to content

Commit a153ee6

Browse files
committed
✨πŸ₯³πŸŽ‚πŸ‘‘πŸŽ‰ πŸ‘ Byter 4.0.0 is released
1 parent 1a60d6a commit a153ee6

File tree

3 files changed

+47
-4
lines changed

3 files changed

+47
-4
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ powered by <a href="https://github.com/alec1o">ALEC1O</a><sub/>
6666
<td valign="top" align="left">
6767

6868
```rb
69-
dotnet add package Byter --version 3.0.0
69+
dotnet add package Byter --version 4.0.0
7070
```
7171

7272
</td>
@@ -89,11 +89,13 @@ dotnet add package Byter --version 3.0.0
8989
<th><sub>v1.x.x</sub></th>
9090
<th><sub>v2.x.x</sub></th>
9191
<th><sub>v3.x.x</sub></th>
92+
<th><sub>v4x.x</sub></th>
9293
</tr>
9394
<tr> <!-- status -->
9495
<td valign="center" align="center"><sup><sub><i>Stable</i></sub></sup></td>
9596
<td valign="center" align="center"><sup><sub><i>Stable</i></sub></sup></td>
9697
<td valign="center" align="center"><sup><sub><i>Stable</i></sub></sup></td>
98+
<td valign="center" align="center"><sup><sub><i>Stable</i></sub></sup></td>
9799
</tr>
98100
<tr> <!-- row #1 -->
99101
<td valign="top" align="left">
@@ -165,11 +167,20 @@ Bug Fix. <i><strong>(Reader & Writer)</strong></i>
165167
&nbsp; <code>array*</code>
166168
&nbsp; <code>list*</code>
167169
&nbsp; <code>BigInteger*</code>
168-
</sub></td>
170+
</sub>
171+
</td>
172+
<td valign="top" align="left">
173+
<sub>
174+
Bug Fix. <i><strong>(Primitive & Extension)</strong></i>
175+
<br><br>Support: <i><strong>*Concat Bytes</strong></i>
176+
<br><br>Fix. <i>Compilation warning.</i>
177+
</sub>
178+
</td>
169179
</tr>
170180
<tr> <!-- row #2 -->
171181
<td valign="top" align="left"><sub>Used by. <a href="https://github.com/alec1o/Netly">Netly v2</a></sub></td>
172182
<td valign="top" align="left"><sub>Used by. <a href="https://github.com/alec1o/Netly">Netly v3</a></sub></td>
183+
<td valign="top" align="left"><sub>Used by. <a href="https://github.com/alec1o/Netly">Netly v4</a></sub> <sup><i>(under dev stage)</i></sup></td>
173184
<td valign="top" align="left"><sub>Used by. <a href="https://github.com/alec1o/Netly">Netly v4</a></sub></td>
174185
</tr>
175186
</table>

β€Žsrc/Byter.csprojβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PropertyGroup>
99
<TargetFramework>netstandard2.0</TargetFramework>
1010
<PackageId>Byter</PackageId>
11-
<Version>3.0.0</Version>
11+
<Version>4.0.0</Version>
1212
<Authors>alec1o</Authors>
1313
<Company>alec1o</Company>
1414
<Copyright>alec1o</Copyright>

β€Žstatic/nuget/README.mdβ€Ž

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,39 @@ using Byter;
403403
byte[] secreat = new byte[] { ... };
404404
string secreatWord = secreat.GetString(Encoding.UTF32);
405405
```
406-
406+
- Concat bytes (byte[])
407+
```csharp
408+
byte[] part1 = [ 1, 1, 1 ];
409+
byte[] part2 = [ 4, 4, 4 ];
410+
411+
/*
412+
.. .. .. .. .. .. .. .. .. ..
413+
414+
Concat part1 and part2
415+
416+
.. .. .. .. .. .. .. .. .. ..
417+
418+
--- `byte[].Concat` Used concat bytes normally.
419+
--- `byte[].ConcatInverse` Used concat bytes inversed (first is last and last is first).
420+
--- `byte[].Concat(invert: true|false, ....)` Generic way to concat `Inversed` and `Normal` direction.
421+
422+
.. .. .. .. .. .. .. .. .. ..
423+
*/
424+
425+
426+
// Normal >>>
427+
byte[] normal = part1.Concat(part2); //... [ 1, 1, 1, 4, 4, 4 ]
428+
byte[] normal = part2.Concat(invert: true, part1); //... [ 1, 1, 1, 4, 4, 4 ]
429+
byte[] normal = byte[].Concat(invert: true, part2, part1); //... [ 1, 1, 1, 4, 4, 4 ]
430+
byte[] normal = byte[].Concat(invert: false, part1, part2); //... [ 1, 1, 1, 4, 4, 4 ]
431+
432+
// Inversed <<<
433+
byte[] inversed = part1.ConcatInverse(part2); //... [ 4, 4, 4, 1, 1, 1 ]
434+
byte[] inversed = part2.Concat(invert: false, part1); //... [ 4, 4, 4, 1, 1, 1 ]
435+
byte[] inversed = byte[].Concat(invert: false, part2, part1); //... [ 4, 4, 4, 1, 1, 1 ]
436+
byte[] inversed = byte[].Concat(invert: true, part1, part2); //... [ 4, 4, 4, 1, 1, 1 ]
437+
```
438+
407439
- Capitalize string
408440
```rb
409441
string name = "alECio furanZE".ToCapitalize();

0 commit comments

Comments
Β (0)