On 21 October 2014 11:52, Jonathan S. Shapiro <[email protected]> wrote:
> What is the difference, in your mind, between a byte string and a byte
> vector or byte array?

The difference is provided support in the operations you can perform on them.

The only issue I have is when I have to jump through hoops to apply
standard string library functions to bytes types.  This includes
obtaining the original bytes from APIs such as argv or stdin as well
as the traditional combining, slicing and replacing methods that are
usually missing on array types.

Oh, and literals.  This is not a thing:

public static final byte[] NONCE = "bitc-rocks".getBytes();

-- 
William Leslie

Notice:
Likely much of this email is, by the nature of copyright, covered
under copyright law.  You absolutely MAY reproduce any part of it in
accordance with the copyright law of the nation you are reading this
in.  Any attempt to DENY YOU THOSE RIGHTS would be illegal without
prior contractual agreement.
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to