fix(core): Converts BB packets (#406)
- [X] Organizes and splits up bulletin boards - [X] Converts packets
This commit is contained in:
parent
bae568d856
commit
c58aad733d
32 changed files with 952 additions and 737 deletions
|
|
@ -133,7 +133,7 @@ namespace Benchmarks
|
|||
buffer, Serial.MinusOne, -1, MessageType.Regular, 0x3B2, 3, "ENU", "System", text
|
||||
);
|
||||
|
||||
buffer = buffer.Slice(0, length);
|
||||
buffer = buffer.SliceToLength(length);
|
||||
|
||||
foreach (var pipe in _pipes)
|
||||
{
|
||||
|
|
@ -152,7 +152,7 @@ namespace Benchmarks
|
|||
buffer, Serial.MinusOne, -1, MessageType.Regular, 0x3B2, 3, "ENU", "System", text
|
||||
);
|
||||
|
||||
buffer = buffer.Slice(0, length);
|
||||
buffer = buffer.SliceToLength(length);
|
||||
var result = pipe.Writer.TryGetMemory();
|
||||
result.CopyFrom(buffer);
|
||||
pipe.Writer.Advance((uint)buffer.Length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue