Skip to content

Commit

Permalink
forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog committed Dec 3, 2024
1 parent c024d9e commit 1322fbd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CborDecode.sol
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ library CborDecode {
return elementAt(cbor, ptr.end(), 0x80, true);
}

function elementAt(bytes memory cbor, uint256 ix, uint8 expectedType, bool required) internal pure returns (CborElement) {
function elementAt(bytes memory cbor, uint256 ix, uint8 expectedType, bool required)
internal
pure
returns (CborElement)
{
uint8 _type = uint8(cbor[ix] & 0xe0);
uint8 ai = uint8(cbor[ix] & 0x1f);
if (_type == 0xe0) {
Expand Down

0 comments on commit 1322fbd

Please sign in to comment.