Skip to content

Commit

Permalink
fix: Added documentation and set
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Smallman <srsmallman@mac.com>
  • Loading branch information
sammysmallman committed Oct 1, 2023
1 parent 70dd6e0 commit 351d854
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Sources/CoreOSC/OSCParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,14 @@ public enum OSCParser {
return elements
}

/// An object that represents an array of either valid or invalid characters.
///
/// This object is used when parsing the OSC Address Pattern and Type Tag String from an OSC Message.
enum OSCCharacters {
case valid(bytes: [UInt8])
case invalid(bytes: [UInt8])
/// An array of either valid characters.
case valid(bytes: Set<UInt8>)
/// An array of either invalid characters.
case invalid(bytes: Set<UInt8>)
}

/// Parse OSC string data.
Expand Down

0 comments on commit 351d854

Please sign in to comment.