Java – Base64.Decoder Class

Java Base64.Decoder Class methods, constructors, variables available in Java 8 release are listed below. We will publish example program on each methods ASAP.

Methods in Java Base64.Decoder Class

S.No Method & Description
1 byte[] decode(byte[] src)

Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into a newly-allocated output byte array.
2 int decode(byte[] src, byte[] dst)

Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into the given output byte array, starting at offset 0.
3 ByteBuffer decode(ByteBuffer buffer)

Decodes all bytes from the input byte buffer using the Base64 encoding scheme, writing the results into a newly-allocated ByteBuffer.
4 byte[] decode(String src)

Decodes a Base64 encoded String into a newly-allocated byte array using the Base64 encoding scheme.
5 InputStream wrap(InputStream is)

Returns an input stream for decoding Base64 encoded byte stream.

Ask your questions in eHowToNow Forum

Post your technical, non-technical doubts, questions in our site. Get answer as soon as possible, meanwhile you can help others by answering, unanswered questions.
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers

  1. Java – Map Interface
  2. Java – PriorityBlockingQueue Class
  3. Java – IntSupplier Interface
  4. Java – AbstractMap.SimpleImmutableEntry Class
  5. Java – CompletableFuture Class
  6. Java – Stream Interface
  7. Java – Semaphore Class
  8. Java – ThreadFactory Interface
  9. Java – AtomicReference Class
  10. Java – Base64.Decoder Class
  11. Java – ForkJoinPool Class
  12. Java – Comparable Interface
  13. Java ArrayList add(int index, E element) method with example
  14. Java – IntSummaryStatistics Class
  15. Java ArrayList size() method with example

Be the first to comment

Leave a Reply