bad grammer
This commit is contained in:
@@ -99,8 +99,8 @@ const Marker = enum(u8) {
|
|||||||
return if (@intFromEnum(self) & 0b1111_0000 == 0xE0) @intCast(@intFromEnum(self) & 0b0000_1111) else null;
|
return if (@intFromEnum(self) & 0b1111_0000 == 0xE0) @intCast(@intFromEnum(self) & 0b0000_1111) else null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A standalone marker has no content and are not followed by segment
|
/// A standalone marker has no content and is not followed by segment length
|
||||||
/// length parameter.
|
/// parameter.
|
||||||
pub fn isStandalone(self: Marker) bool {
|
pub fn isStandalone(self: Marker) bool {
|
||||||
return self.isRST() != null or
|
return self.isRST() != null or
|
||||||
self == .SOI or
|
self == .SOI or
|
||||||
|
|||||||
Reference in New Issue
Block a user