public FileMetadataChunk(ref ShockwaveReader input, ChunkHeader header) : base(header) { Codec = (CodecKind)(IsBigEndian ? input.ReadInt32() : input.ReadBEInt32()); }
public FileMetadataChunk(ShockwaveReader input, ChunkHeader header) : base(header) { Codec = input.ReadReversedString(4).ToCodec(); }
/// <summary> /// Initializes a new instance of the <see cref="CodecNotSupportedException"/> class with /// <see cref="CodecKind"/> indicating which codec is not supported and a specified error message. /// </summary> /// <since_tizen> 3 </since_tizen> public CodecNotSupportedException(CodecKind kind, string message) : base(message) { CodecKind = kind; }
public FileMetadataChunk(ShockwaveReader input) : base(new ChunkHeader(input)) { Codec = input.ReadReversedString(4).ToCodec(); }
/// <summary> /// Initializes a new instance of the <see cref="CodecNotSupportedException"/> class /// with <see cref="CodecKind"/> indicating which codec is not supported. /// </summary> /// <since_tizen> 3 </since_tizen> public CodecNotSupportedException(CodecKind kind) { CodecKind = kind; }