예제 #1
0
function NLStreamCreateMutableCopy($capacity = 0, NLMutableFileStream $theFileStream)
{
    $capacity = _size_t($capacity);
    return __NLStreamCopy($capacity == 0 ? kNLMutable : kNLFixedMutable, $capacity, $theFileStream);
}
예제 #2
0
function NLDataCreateMutableCopy($capacity = 0, NLMutableData $theData)
{
    $capacity = _size_t($capacity);
    return __NLDataCopy($capacity == 0 ? kNLMutable : kNLFixedMutable, $capacity, $theData);
}