コード例 #1
0
 public FileMetadataChunk(ref ShockwaveReader input, ChunkHeader header)
     : base(header)
 {
     Codec = (CodecKind)(IsBigEndian ?
                         input.ReadInt32() : input.ReadBEInt32());
 }
コード例 #2
0
 public FileMetadataChunk(ShockwaveReader input, ChunkHeader header)
     : base(header)
 {
     Codec = input.ReadReversedString(4).ToCodec();
 }
コード例 #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;
 }
コード例 #4
0
 public FileMetadataChunk(ShockwaveReader input)
     : base(new ChunkHeader(input))
 {
     Codec = input.ReadReversedString(4).ToCodec();
 }
コード例 #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;
 }