// // SegmentParser.hpp // Clock Signal // // Created by Thomas Harte on 04/05/2018. // Copyright 2018 Thomas Harte. All rights reserved. // #pragma once #include "Sector.hpp" #include "../../Track/PCMSegment.hpp" #include namespace Storage::Encodings::AppleGCR { /*! Scans @c segment for all included sectors, returning a set that maps from location within the segment (counted in bits from the beginning) to sector. */ std::map sectors_from_segment(const Disk::PCMSegment &segment); }