ByteArray.st
changeset 4807 2991043fc36d
parent 4783 49b1b2968a5c
child 4809 ec743bebdd72
equal deleted inserted replaced
4806:1b48e7420cfe 4807:2991043fc36d
  1065      #(1 2 3 4 5 6 7) asByteArray 
  1065      #(1 2 3 4 5 6 7) asByteArray 
  1066      #(1 2 256 4 5 6 7) asByteArray 
  1066      #(1 2 256 4 5 6 7) asByteArray 
  1067     "
  1067     "
  1068 !
  1068 !
  1069 
  1069 
       
  1070 decodeAsLiteralArray
       
  1071     "given a literalEncoding in the receiver,
       
  1072      create & return the corresponding object.
       
  1073      The inverse operation to #literalArrayEncoding."
       
  1074 
       
  1075     ^ self
       
  1076 
       
  1077 !
       
  1078 
  1070 literalArrayEncoding
  1079 literalArrayEncoding
  1071     "encode myself as an array literal, from which a copy of the receiver
  1080     "encode myself as an array literal, from which a copy of the receiver
  1072      can be reconstructed with #decodeAsLiteralArray."
  1081      can be reconstructed with #decodeAsLiteralArray."
  1073 
  1082 
  1074     ^ self
  1083     ^ self
  2351 ! !
  2360 ! !
  2352 
  2361 
  2353 !ByteArray class methodsFor:'documentation'!
  2362 !ByteArray class methodsFor:'documentation'!
  2354 
  2363 
  2355 version
  2364 version
  2356     ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.119 1999-09-21 00:28:30 cg Exp $'
  2365     ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.120 1999-09-24 13:04:22 cg Exp $'
  2357 ! !
  2366 ! !