use sizeof to prevent hardcoding size in getDetails
use sizeof to prevent hardcoding size in getDetails

mozilla-b2g/platform_system_nfcd,viralwang/platform_system_nfcd,viralwang/platform_system_nfcd,mozilla-b2g/platform_system_nfcd