1 reverse_byte(<<>>) -> 2 <<>>; 3 reverse_byte(<<Header:8, Tail/bits>>) -> 4 Left = reverse_byte(Tail), 5 << Left/binary, <<Header>>/binary >>; 6 reverse_byte(_) -> {error, "not binary!"}.
1 reverse_byte(<<>>) -> 2 <<>>; 3 reverse_byte(<<Header:8, Tail/bits>>) -> 4 Left = reverse_byte(Tail), 5 << Left/binary, <<Header>>/binary >>; 6 reverse_byte(_) -> {error, "not binary!"}.