예제 #1
0
        public override int ReadElementContentAsBase64(byte [] buffer, int index, int count)
        {
//			return base.ReadElementContentAsBase64 (
//				buffer, index, count);
            // FIXME: This is problematic wrt end of entity.
            if (entity != null)
            {
                return(entity.ReadElementContentAsBase64(
                           buffer, index, count));
            }
            else
            {
                return(source.ReadElementContentAsBase64(
                           buffer, index, count));
            }
        }
예제 #2
0
        public override int ReadElementContentAsBase64(
            byte [] buffer, int offset, int length)
        {
//			return base.ReadElementContentAsBase64 (
//				buffer, offset, length);
            // FIXME: This is problematic wrt end of entity.
            if (entity != null)
            {
                return(entity.ReadElementContentAsBase64(
                           buffer, offset, length));
            }
            else
            {
                return(source.ReadElementContentAsBase64(
                           buffer, offset, length));
            }
        }