Class ByteArrayDataSource

    • Constructor Detail

      • ByteArrayDataSource

        public ByteArrayDataSource​(byte[] buf,
                                   String contentType)
        Parameters:
        buf - input buffer - the byte array isn't being copied; used directly
        contentType -
      • ByteArrayDataSource

        public ByteArrayDataSource​(byte[] buf,
                                   int length,
                                   String contentType)
        Parameters:
        buf - input buffer - the byte array isn't being copied; used directly
        length -
        contentType -