mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-28 04:28:01 +02:00
Comptime improvments, IOn<X> interfaces, const payload enum
This commit is contained in:
parent
e7fe91facb
commit
f37fb2c1b7
20 changed files with 884 additions and 364 deletions
|
@ -181,8 +181,8 @@ namespace Beefy
|
|||
}
|
||||
|
||||
int fileLen = (.)sr.Length;
|
||||
if (sr.TryRead(.((.)outBuffer.PrepareBuffer(fileLen), fileLen)) case .Err(let readErr))
|
||||
return .Err(.ReadError(readErr));
|
||||
if (sr.TryRead(.((.)outBuffer.PrepareBuffer(fileLen), fileLen)) case .Err)
|
||||
return .Err(.ReadError(.Unknown));
|
||||
|
||||
if (onPreFilter != null)
|
||||
onPreFilter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue