ByteArray.st
changeset 16805 e1f4f10936c0
parent 16804 8b7dfe6e80b0
child 16806 575f0e271998
equal deleted inserted replaced
16804:8b7dfe6e80b0 16805:e1f4f10936c0
  2799      put it is very helpful for UTF8 string reading (Java class reader),
  2799      put it is very helpful for UTF8 string reading (Java class reader),
  2800      to quickly determine, if UTF8 decoding is needed or not.
  2800      to quickly determine, if UTF8 decoding is needed or not.
  2801      As most strings in a class fiel are in fact only containing 7bit ascii,
  2801      As most strings in a class fiel are in fact only containing 7bit ascii,
  2802      this should speedup class file reading considerably"
  2802      this should speedup class file reading considerably"
  2803 
  2803 
  2804 %{ 
  2804 %{  /* NOCONTEXT */
  2805     REGISTER unsigned char *cp;
  2805     REGISTER unsigned char *cp;
  2806     REGISTER unsigned char *endP;
  2806     REGISTER unsigned char *endP;
  2807 
  2807 
  2808     if (__isByteArray(self)) {
  2808     if (__isByteArray(self)) {
  2809         cp = &(__ByteArrayInstPtr(self)->ba_element[0]);
  2809         cp = &(__ByteArrayInstPtr(self)->ba_element[0]);
  3091 
  3091 
  3092 
  3092 
  3093 !ByteArray class methodsFor:'documentation'!
  3093 !ByteArray class methodsFor:'documentation'!
  3094 
  3094 
  3095 version
  3095 version
  3096     ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.217 2014-07-31 11:09:17 cg Exp $'
  3096     ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.218 2014-07-31 11:25:30 cg Exp $'
  3097 !
  3097 !
  3098 
  3098 
  3099 version_CVS
  3099 version_CVS
  3100     ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.217 2014-07-31 11:09:17 cg Exp $'
  3100     ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.218 2014-07-31 11:25:30 cg Exp $'
  3101 ! !
  3101 ! !
  3102 
  3102