public void parse(Attribute attribute, MediaData.Builder builder, ParseState state) { builder.withUri(ParseUtil.decodeUri(ParseUtil.parseQuotedString(attribute.value), state.encoding)); }
public override void parse(Attribute attribute, T builder, ParseState state) { builder.withFrameRate(ParseUtil.parseFloat(attribute.value, tag)); }
public override void parse(Attribute attribute, T builder, ParseState state) { builder.withVideo(ParseUtil.parseQuotedString(attribute.value, tag)); }
public override void parse(Attribute attribute, T builder, ParseState state) { builder.withAverageBandwidth(ParseUtil.parseInt(attribute.value, tag)); }
public override void parse(Attribute attribute, T builder, ParseState state) { builder.withResolution(ParseUtil.parseResolution(attribute.value, tag)); }
public void parse(Attribute attribute, IFrameStreamInfo.Builder builder, ParseState state) { builder.withUri(ParseUtil.parseQuotedString(attribute.value)); }
public void parse(Attribute attribute, StreamInfo.Builder builder, ParseState state) { builder.withSubtitles(ParseUtil.parseQuotedString(attribute.value)); }
public void parse(Attribute attribute, MediaData.Builder builder, ParseState state) { builder.withForced(ParseUtil.parseYesNo(attribute)); }
public void parse(Attribute attribute, MediaData.Builder builder, ParseState state) { builder.withAssociatedLanguage(ParseUtil.parseQuotedString(attribute.value)); }
public void parse(Attribute attribute, StartData.Builder builder, ParseState state) { builder.withPrecise(ParseUtil.parseYesNo(attribute)); }
public void parse(Attribute attribute, StartData.Builder builder, ParseState state) { builder.withTimeOffset(ParseUtil.parseFloat(attribute.value)); }
public void parseHexadecimal(byte[] expected, String input) { var actual = ParseUtil.parseHexadecimal(input, ""); Assert.Equal(expected.ToList(), actual); }