octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62919] base64_decode() cannot decode base64_e


From: Yu Hongbo
Subject: [Octave-bug-tracker] [bug #62919] base64_decode() cannot decode base64_encode() content
Date: Fri, 19 Aug 2022 09:15:04 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62919>

                 Summary: base64_decode() cannot decode base64_encode()
content
                 Project: GNU Octave
               Submitter: yuhongbo
               Submitted: Fri 19 Aug 2022 01:15:03 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: GNU/Linux


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 19 Aug 2022 01:15:03 PM UTC By: Yu Hongbo <yuhongbo>
I encode an int8 vector, and cannot decode the encoded result. Here is my
code:

>> result='[0,1,2]'
result = [0,1,2]
>> result=base64_encode(int8(result))
result = WzAsMSwyXQ==
>> result=base64_decode(result)
error: base64_decode: incorrect input size







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62919>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]