Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 supporting both strings and bytes in functions
#1
in all my functions (Skaperens Function Collections) that take strings and return strings, i want to also support bytes and bytearray types, returning the same, without having to use different names. suggestions on doing this? i do know how, but interested in other people's thoughts.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  print a list strings is fast but printing the joined strings is slow Skaperen 9 268 Aug-26-2019, 07:48 PM
Last Post: Skaperen
  mixing bytes with strings Skaperen 3 397 May-29-2019, 02:30 AM
Last Post: heiner55
  to strings or to bytes, that is the question Skaperen 0 582 Jul-07-2018, 08:35 PM
Last Post: Skaperen

Forum Jump:


Users browsing this thread: 1 Guest(s)