From 3a133223b3f10f19bbdab7a6f7da73e55a914185 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 9 Apr 2018 01:07:03 -0700 Subject: compiler/blob: Add blob_skip_bytes Signed-off-by: Jordan Justen Reviewed-by: Timothy Arceri --- src/compiler/blob.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/compiler/blob.h') diff --git a/src/compiler/blob.h b/src/compiler/blob.h index 2b975d45dfe..b56fa4b2fe0 100644 --- a/src/compiler/blob.h +++ b/src/compiler/blob.h @@ -294,6 +294,12 @@ blob_read_bytes(struct blob_reader *blob, size_t size); void blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size); +/** + * Skip \size bytes within the blob. + */ +void +blob_skip_bytes(struct blob_reader *blob, size_t size); + /** * Read a uint32_t from the current location, (and update the current location * to just past this uint32_t). -- cgit v1.2.3