```\nif (b.length < index + nestedBytesLength) {\n    LibRichErrors.rrevert(LibBytesRichErrors.InvalidByteOperationError(\n        LibBytesRichErrors\n            .InvalidByteOperationErrorCodes.LengthGreaterThanOrEqualsNestedBytesLengthRequired,\n        b.length,\n        index + nestedBytesLength\n    ));\n}\n```\n