Exemplo n.º 1
0
 public FileMetadataChunk(ref ShockwaveReader input, ChunkHeader header)
     : base(header)
 {
     Codec = (CodecKind)(IsBigEndian ?
                         input.ReadInt32() : input.ReadBEInt32());
 }
Exemplo n.º 2
0
 public FileMetadataChunk(ShockwaveReader input, ChunkHeader header)
     : base(header)
 {
     Codec = input.ReadReversedString(4).ToCodec();
 }
Exemplo n.º 3
0
 /// <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;
 }
Exemplo n.º 4
0
 public FileMetadataChunk(ShockwaveReader input)
     : base(new ChunkHeader(input))
 {
     Codec = input.ReadReversedString(4).ToCodec();
 }
Exemplo n.º 5
0
 /// <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;
 }