public byte [ ] getAsBytes ( ) { byte [ ] ret = new byte [ pBytes . length ] ; System . arraycopy ( pBytes , 0 , ret , 0 , pBytes . length ) ; //make sure we keep our own copy. return ret ; }
Lifecycle chaincode package as bytes