ほとんどの組成物およびAへ

プライベート静的バイト[] byteMergerAll(一覧<バイト[]>値){ 
    int型length_byte = 0。
    以下のために(INT iが= 0; I <values.size(); I ++){ 
        length_byte + = values.get(I).LENGTH。
    } 
    バイト[] all_byte =新しいバイト[length_byte]。
    int型countLength = 0; 
    以下のために(INT iが= 0; I <values.size(); I ++){ 
        バイト[] = values.get B(I)。
        System.arraycopyの(B、0、all_byte、countLength、てb.length)。
        countLength + =のb.length。
    } 
    戻りall_byte。
}
66元記事公開 ウォン称賛85 ビューに14万+を

おすすめ

転載: blog.csdn.net/qq_38380025/article/details/100032019