fxi network
This commit is contained in:
parent
6f2322174d
commit
79eded8c96
@ -627,5 +627,6 @@ chunk_rules(<<>>, _) ->
|
|||||||
[];
|
[];
|
||||||
chunk_rules(Bin, Size) when byte_size(Bin) =< Size ->
|
chunk_rules(Bin, Size) when byte_size(Bin) =< Size ->
|
||||||
[Bin];
|
[Bin];
|
||||||
chunk_rules(<<Head:Size/binary, Tail/binary>>, Size) ->
|
chunk_rules(Bin, Size) ->
|
||||||
|
<<Head:Size/binary, Tail/binary>> = Bin,
|
||||||
[Head | chunk_rules(Tail, Size)].
|
[Head | chunk_rules(Tail, Size)].
|
||||||
Loading…
x
Reference in New Issue
Block a user