Basic type for a image attribute packet.
Inheritance: UserAttributeSubpacket
		public virtual void SetImageAttribute(
			ImageAttrib.Format	imageType,
			byte[]				imageData)
		{
			if (imageData == null)
				throw new ArgumentException("attempt to set null image", "imageData");

			list.Add(new ImageAttrib(imageType, imageData));
		}
Example #2
0
 public ImageAttrib(ImageAttrib.Format imageType, byte[] imageData) : this(ImageAttrib.ToByteArray(imageType, imageData))
 {
 }